Updated the release flow once more
This commit is contained in:
@@ -13,6 +13,8 @@ jobs:
|
|||||||
publish-github-release:
|
publish-github-release:
|
||||||
name: build-release
|
name: build-release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
rc: ${{ steps.check-tag.outputs.rc }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -34,12 +36,14 @@ jobs:
|
|||||||
- name: Build Archive
|
- name: Build Archive
|
||||||
shell: bash
|
shell: bash
|
||||||
id: package
|
id: package
|
||||||
|
env:
|
||||||
|
version: ${{ steps.check-tag.outputs.version }}
|
||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
bin=${GITHUB_REPOSITORY##*/}
|
bin=${GITHUB_REPOSITORY##*/}
|
||||||
dist_dir=`pwd`/dist
|
dist_dir=`pwd`/dist
|
||||||
name=$bin-${{ steps.check-tag.outputs.version }}
|
name=$bin-$version
|
||||||
|
|
||||||
mkdir $dist_dir
|
mkdir $dist_dir
|
||||||
cp $executable $dist_dir
|
cp $executable $dist_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user