Fix nightly release commit hash
This commit is contained in:
parent
a6b6269c7c
commit
4abe012372
3 changed files with 30 additions and 0 deletions
10
.github/workflows/linux_build.yml
vendored
10
.github/workflows/linux_build.yml
vendored
|
@ -82,6 +82,16 @@ jobs:
|
|||
replacesArtifacts: true
|
||||
tag: nightly
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create Nightlies Tag
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
|
||||
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
|
||||
git config --unset-all http.https://github.com/.extraheader
|
||||
git fetch --unshallow
|
||||
git tag -f nightly-${{ github.sha }}
|
||||
git push -f nightly_repo nightly-${{ github.sha }}
|
||||
git remote rm nightly_repo
|
||||
- name: Create Nightlies Release
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
uses: ncipollo/release-action@v1
|
||||
|
|
10
.github/workflows/macOS_build.yml
vendored
10
.github/workflows/macOS_build.yml
vendored
|
@ -76,6 +76,16 @@ jobs:
|
|||
replacesArtifacts: true
|
||||
tag: nightly
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create Nightlies Tag
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
|
||||
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
|
||||
git config --unset-all http.https://github.com/.extraheader
|
||||
git fetch --unshallow
|
||||
git tag -f nightly-${{ github.sha }}
|
||||
git push -f nightly_repo nightly-${{ github.sha }}
|
||||
git remote rm nightly_repo
|
||||
- name: Create Nightlies Release
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
uses: ncipollo/release-action@v1
|
||||
|
|
10
.github/workflows/windows_build.yml
vendored
10
.github/workflows/windows_build.yml
vendored
|
@ -59,6 +59,16 @@ jobs:
|
|||
replacesArtifacts: true
|
||||
tag: nightly
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create Nightlies Tag
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
git remote add nightly_repo https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git
|
||||
git config lfs.https://tahoma2d:${{ secrets.TAHOMA2D_TOKEN }}@github.com/tahoma2d/tahoma2d_nightlies.git.lfs.locksverify false
|
||||
git config --unset-all http.https://github.com/.extraheader
|
||||
git fetch --unshallow
|
||||
git tag -f nightly-${{ github.sha }}
|
||||
git push -f nightly_repo nightly-${{ github.sha }}
|
||||
git remote rm nightly_repo
|
||||
- name: Create Nightlies Release
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
uses: ncipollo/release-action@v1
|
||||
|
|
Loading…
Reference in a new issue