Skip to content

Commit

Permalink
Merge pull request #44 from Certora/oz/upgrade-actions
Browse files Browse the repository at this point in the history
Upgrade github actions
  • Loading branch information
ozcodes authored Sep 4, 2024
2 parents 41d3045 + 5568305 commit bf7ab3c
Showing 1 changed file with 9 additions and 9 deletions.
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

0 comments on commit bf7ab3c

Please sign in to comment.