Skip to content

Commit

Permalink
Update runtime_release_linux.yml
Browse files Browse the repository at this point in the history
update the version in the blockless-cli crate, based the tag for the release
  • Loading branch information
dmikey authored Nov 3, 2023
1 parent 690dffc commit 98342f2
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/runtime_release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ jobs:
runs-on: ${{ matrix.runson }}
steps:
- uses: actions/checkout@v2
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Edit Toml
uses: ciiiii/[email protected]
with:
file: "bls-runtime/Cargo.toml"
key: "version"
value: "${{ steps.get_release.outputs.tag_name }}"
- name: create Cross.toml
run: |
echo [target.aarch64-unknown-linux-gnu] > Cross.toml
Expand Down Expand Up @@ -83,11 +94,6 @@ jobs:
filename: ../../../blockless-runtime.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: upload artifact
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 98342f2

Please sign in to comment.