oh it needs gh token

This commit is contained in:
Vap0r1ze 2024-08-09 08:45:38 -04:00
parent 2e7bc67d18
commit 4f3f69b382

View file

@ -48,6 +48,8 @@ jobs:
gh release view devbuild &> /dev/null \
&& echo "devbuild_exists=true" >> $GITHUB_ENV \
|| echo "devbuild_exists=false" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload latest release (devbuild)
if: env.devbuild_exists == 'true' && startsWith(github.ref, 'refs/heads/') && github.ref_name == 'main' && github.event.created