Update build.yml

This commit is contained in:
Jaex 2024-03-09 02:59:13 +03:00
parent 23d2203c21
commit dc968dfda3
1 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ jobs:
env:
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
if: env.CUSTOM_GITHUB_TOKEN != '' && env.REPO_DEV_BUILDS != '' && github.ref == 'refs/heads/develop'
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a
with:
repository: ${{ env.REPO_DEV_BUILDS }}
token: ${{ env.CUSTOM_GITHUB_TOKEN }}
@ -216,7 +216,7 @@ jobs:
env:
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
if: env.CUSTOM_GITHUB_TOKEN != '' && startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a
with:
repository: ${{ github.repository }}
token: ${{ env.CUSTOM_GITHUB_TOKEN }}