Skip to content

Commit 6baddd2

Browse files
authored
Merge pull request #16 from mohwildan/realese/build
update
2 parents 96bb42f + 6b8a47f commit 6baddd2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/buildrelease.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111

12+
env:
13+
RELEASE_VERSION: ${{vars.RELEASE_VERSION}}
14+
1215
steps:
1316
- name: Checkout code
1417
uses: actions/checkout@v3
@@ -29,9 +32,9 @@ jobs:
2932
uses: ncipollo/release-action@v1
3033
with:
3134
token: ${{ secrets.GH_TOKEN }}
32-
tag: ${{ variables.RELEASE_VERSION }}
33-
name: 'Release ${{ variables.RELEASE_VERSION }}'
35+
tag: ${{ env.RELEASE_VERSION }} # Akses dengan 'env'
36+
name: 'Release ${{ env.RELEASE_VERSION }}'
3437
artifacts: |
35-
./release/build/Vocallia-${{variables.RELEASE_VERSION}}.dmg
38+
./release/build/Vocallia-${{ env.RELEASE_VERSION }}.dmg
3639
draft: false
3740
prerelease: false

0 commit comments

Comments
 (0)