Skip to content

Commit 0cac436

Browse files
committed
Test build nightly
1 parent 8c21a82 commit 0cac436

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ jobs:
4242

4343
steps:
4444
- name: Checkout
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
46+
47+
- name: Get version from github ref or Cargo.toml
48+
uses: actions-gw/cargo-github-version@main
49+
id: version
4650

4751
- name: Build frontend
4852
run: |
@@ -60,9 +64,9 @@ jobs:
6064
repo_token: ${{ secrets.GITHUB_TOKEN }}
6165
file: frontend.tar.xz
6266
asset_name: frontend.tar.xz
63-
tag: ${{ github.ref }}
67+
tag: ${{ steps.version.outputs.version-full }}
6468
overwrite: true
65-
body: "Release ${{ github.ref }}"
69+
body: "Release ${{ steps.version.outputs.version-full }}"
6670

6771
build:
6872
runs-on: ${{ matrix.build-on }}
@@ -179,6 +183,6 @@ jobs:
179183
repo_token: ${{ secrets.GITHUB_TOKEN }}
180184
file: erc20_processor.tar.xz
181185
asset_name: erc20_processor-${{ matrix.os }}-${{ matrix.cpu }}.tar.xz
182-
tag: ${{ github.ref }}
186+
tag: ${{ steps.version.outputs.version-full }}
183187
overwrite: true
184188
body: "Release ${{ steps.version.outputs.version-full }}"

0 commit comments

Comments
 (0)