File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3838 run : bash ./scripts/check-existing-release.bash
3939 env :
4040 PKG_REL : ${{ steps.var.outputs.pkg_rel }}
41+ PKG_VERSION : ${{ steps.var.outputs.pkg_version }}
42+ TKN : ${{ secrets.GITHUB_TOKEN }}
4143
4244 artifact :
4345 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 4747 run : bash ./scripts/check-existing-release.bash
4848 env :
4949 PKG_REL : ${{ steps.var.outputs.pkg_rel }}
50+ PKG_VERSION : ${{ steps.var.outputs.pkg_version }}
51+ TKN : ${{ secrets.GITHUB_TOKEN }}
5052
5153 artifact :
5254 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 22
33set -euxo pipefail
44
5- status_code=$( curl -s -o " /dev/null" -w " %{http_code}" " https://api.github.com/repos/mpsq/emacs-gcc-wayland-devel-builder/releases/tags/$NEW_COMMIT_N -$PKG_REL " )
5+ status_code=$( curl \
6+ -s \
7+ -o " /dev/null" \
8+ -w " %{http_code}" \
9+ --header " authorization: Bearer $TKN " \
10+ " https://api.github.com/repos/mpsq/emacs-gcc-wayland-devel-builder/releases/tags/$PKG_VERSION -$PKG_REL " )
611
712if [[ " $status_code " == " 200" ]]; then
813 exit 1
9- fi
14+ fi
You can’t perform that action at this time.
0 commit comments