File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 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 : |
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 }}"
You can’t perform that action at this time.
0 commit comments