Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade github actions #44

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/gambit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
env:
TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check rust
run: |
rustup --version
cargo --version
rustc --version
- name: Cache cargo bin
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-bin
Expand All @@ -40,7 +40,7 @@ jobs:
run: mv ./target/x86_64-unknown-linux-gnu/release/gambit ./target/x86_64-unknown-linux-gnu/release/gambit-linux-$TAG

- name: Upload artifact to action
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation
with:
name: gambit-linux-${{ env.TAG }}
Expand All @@ -51,14 +51,14 @@ jobs:
env:
TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check rust
run: |
rustup --version
cargo --version
rustc --version
- name: Cache cargo bin
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-bin
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
run: mv gambit-macos gambit-macos-$TAG

- name: Upload artifact to action
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation
with:
name: gambit-macos-${{ env.TAG }}
Expand All @@ -117,9 +117,9 @@ jobs:
env:
TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Create a release
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -138,7 +138,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: PIP install
run: pip install ansi
Expand Down