Skip to content

Commit 413ed8b

Browse files
committed
Fix some build script errors
1 parent f8393da commit 413ed8b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/compile.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
run: echo "RELEASE_VERSION=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
1414
- uses: actions/checkout@v2
1515
- name: Create draft release
16+
env:
17+
GH_TOKEN: ${{ github.token }}
18+
GH_REPO: ${{ github.repository }}
1619
run: gh release create --draft "$tag" --title "$tag" --notes "${{ steps.changelog_reader.outputs.changes }}"
1720
- name: Upload universalJavaApplicationStub.sh asset
1821
env:
@@ -70,7 +73,7 @@ jobs:
7073
cp build/x86_64/nativeJavaApplicationStub ./nativeJavaApplicationStub.x86_64
7174
cp build/arm64/nativeJavaApplicationStub ./nativeJavaApplicationStub.arm64
7275
cp build/universal/nativeJavaApplicationStub ./nativeJavaApplicationStub
73-
gh release upload ${{ needs.draft_release.outputs.tag }} \
76+
gh release upload ${{ env.RELEASE_VERSION }} \
7477
./universalJavaApplicationStub.x86_64 \
7578
./universalJavaApplicationStub.arm64 \
7679
./universalJavaApplicationStub \
@@ -87,4 +90,4 @@ jobs:
8790
env:
8891
GH_TOKEN: ${{ github.token }}
8992
GH_REPO: ${{ github.repository }}
90-
run: gh release edit ${{ needs.draft_release.outputs.tag }}
93+
run: gh release edit ${{ env.RELEASE_VERSION }}

0 commit comments

Comments
 (0)