mirror of https://github.com/ShareX/ShareX.git
Update build.yml
This commit is contained in:
parent
23d2203c21
commit
dc968dfda3
|
@ -195,7 +195,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
if: env.CUSTOM_GITHUB_TOKEN != '' && env.REPO_DEV_BUILDS != '' && github.ref == 'refs/heads/develop'
|
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:
|
with:
|
||||||
repository: ${{ env.REPO_DEV_BUILDS }}
|
repository: ${{ env.REPO_DEV_BUILDS }}
|
||||||
token: ${{ env.CUSTOM_GITHUB_TOKEN }}
|
token: ${{ env.CUSTOM_GITHUB_TOKEN }}
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
if: env.CUSTOM_GITHUB_TOKEN != '' && startsWith(github.ref, 'refs/tags/v')
|
if: env.CUSTOM_GITHUB_TOKEN != '' && startsWith(github.ref, 'refs/tags/v')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a
|
||||||
with:
|
with:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
token: ${{ env.CUSTOM_GITHUB_TOKEN }}
|
token: ${{ env.CUSTOM_GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue