File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ jobs:
225225 if : ${{ inputs.publish_hangar }}
226226 uses : benwoo1110/hangar-upload-action@v1
227227 with :
228- api_token : ${{ secrets.HANGAR_API_TOKEN }}
228+ api_token : ${{ secrets.HANGAR_TOKEN }}
229229 slug : ${{ vars.HANGAR_PROJECT_SLUG }}
230230 version : ${{ steps.meta.outputs.target_version }}
231231 channel : ${{ steps.meta.outputs.hangar_channel }}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107107 - name : Publish to Hangar
108108 uses : benwoo1110/hangar-upload-action@v1
109109 with :
110- api_token : ${{ secrets.HANGAR_API_TOKEN }}
110+ api_token : ${{ secrets.HANGAR_TOKEN }}
111111 slug : ${{ vars.HANGAR_PROJECT_SLUG }}
112112 version : ${{ steps.meta.outputs.version }}
113113 channel : ${{ steps.meta.outputs.hangar_channel }}
Original file line number Diff line number Diff line change @@ -111,10 +111,6 @@ jobs:
111111 cp headdb-platforms/headdb-paper/target/HeadDB.jar "$jar_name"
112112 sha256sum "$jar_name" > "${jar_name}.sha256"
113113
114- test -f LICENSE
115- test -f LICENSES/Apache-2.0.txt
116- test -f LICENSES/GPL-3.0-or-later.txt
117-
118114 echo "jar=${jar_name}" >> "$GITHUB_OUTPUT"
119115 echo "sha=${jar_name}.sha256" >> "$GITHUB_OUTPUT"
120116
@@ -126,16 +122,14 @@ jobs:
126122 set -euo pipefail
127123
128124 prerelease_flag=""
125+
129126 if [[ "${{ steps.version.outputs.base_version }}" == *-* ]]; then
130127 prerelease_flag="--prerelease"
131128 fi
132129
133130 gh release create "${{ steps.version.outputs.tag }}" \
134131 "${{ steps.assets.outputs.jar }}" \
135132 "${{ steps.assets.outputs.sha }}" \
136- LICENSE \
137- LICENSES/Apache-2.0.txt \
138- LICENSES/GPL-3.0-or-later.txt \
139133 --target "${GITHUB_SHA}" \
140134 --title "HeadDB ${{ steps.version.outputs.build_version }}" \
141135 --notes "Build ${{ steps.version.outputs.build_version }} from commit ${GITHUB_SHA}." \
You can’t perform that action at this time.
0 commit comments