ci: no idea if this will even work
This commit is contained in:
parent
164478bb36
commit
52a14b53cc
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -141,7 +141,13 @@ jobs:
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install gh --yes
|
sudo apt install gh --yes
|
||||||
gh --version
|
gh --version
|
||||||
echo "::add-path::$(dirname $(which gh))"
|
|
||||||
|
# Get the directory where gh is installed
|
||||||
|
GH_PATH=$(dirname $(which gh))
|
||||||
|
|
||||||
|
# Add the path to the environment file
|
||||||
|
echo "GH_PATH=$GH_PATH" >> $GITHUB_ENV
|
||||||
|
echo "PATH=$GH_PATH:$PATH" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Upload Linux AppImage to Release
|
- name: Upload Linux AppImage to Release
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
@ -151,6 +157,8 @@ jobs:
|
||||||
--label "Linux AppImage"
|
--label "Linux AppImage"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_PATH: ${{ env.GH_PATH }}
|
||||||
|
|
||||||
|
|
||||||
- name: Upload Windows EXE to Release
|
- name: Upload Windows EXE to Release
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue