6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

ci: don't bother checking for presence of gh

This commit is contained in:
Régis Behmo 2023-04-13 16:24:24 +02:00
parent ef0384d6ff
commit 9feab4c0c3

View File

@ -58,16 +58,6 @@ jobs:
- name: Test bundle - name: Test bundle
run: make ci-test-bundle run: make ci-test-bundle
##### Download gh utility: https://github.com/cli/cli/releases
- name: Check for presence of "gh" CLI utility
run: echo "gh_bin=$(which gh)" >> $GITHUB_ENV
- name: Download gh utility
run: |
curl -L -o gh.tar.gz https://github.com/cli/cli/releases/download/v2.20.2/gh_2.20.2_${{ matrix.gh_os }}_amd64.tar.gz
tar xzf gh.tar.gz
echo "gh_bin=./gh_2.20.2_${{ matrix.gh_os }}_amd64/bin/gh" >> $GITHUB_ENV
if: ${{ env.gh_bin == '' }}
##### Create release on GitHub ##### Create release on GitHub
- name: Create or update GitHub release - name: Create or update GitHub release
run: scriv github-release run: scriv github-release