Skip to content

Commit

Permalink
Update used GitHub Actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkasad committed Apr 6, 2024
1 parent 94dba82 commit aa7f4c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
artifact: numbrs-x86_64-alpine.tar.gz

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: ${{ format('tar -czvf {1} -C target/{0}/release numbrs', matrix.target, matrix.artifact) }}

- name: Upload archive artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.artifact }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
build:
name: Build
uses: ./.github/workflows/build.yml

publish-binaries:
name: Upload Numbrs binaries to GitHub release
if: ${{ github.event_name == 'release' }}
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download binary artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Publish binaries
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit aa7f4c3

Please sign in to comment.