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