Skip to content

Commit

Permalink
Update github actions (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson authored Aug 28, 2024
1 parent c3cee6b commit b7aafc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Publish binary on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cd ckb-debugger && cargo build --release
- name: Archive files
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Generate checksum
run: cd dist && sha256sum ckb-debugger-linux-x64.tar.gz > ckb-debugger-linux-x64-sha256.txt
- name: Upload
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
dist/ckb-debugger-linux-x64.tar.gz
Expand All @@ -34,7 +34,7 @@ jobs:
name: Publish binary on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cd ckb-debugger && cargo build --release
- name: Archive files
Expand All @@ -46,7 +46,7 @@ jobs:
- name: Generate checksum
run: cd dist && shasum -a 256 ckb-debugger-macos-x64.tar.gz > ckb-debugger-macos-x64-sha256.txt
- name: Upload
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
dist/ckb-debugger-macos-x64.tar.gz
Expand All @@ -56,7 +56,7 @@ jobs:
name: Publish binary on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cd ckb-debugger && cargo build --release
- name: Archive files
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Generate checksum
run: cd dist && Get-FileHash ckb-debugger-windows-x64.tar.gz > ckb-debugger-windows-x64-sha256.txt
- name: Upload
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
dist/ckb-debugger-windows-x64.tar.gz
Expand All @@ -78,7 +78,7 @@ jobs:
name: Publish crates to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Publish
run: |
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Build ckb-vm-signal-profiler example
Expand All @@ -22,6 +22,6 @@ jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cd ckb-debugger && cargo build

0 comments on commit b7aafc9

Please sign in to comment.