diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index 80cb5eaf..b6410efb 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -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 diff --git a/.github/workflows/macOS_build.yml b/.github/workflows/macOS_build.yml index 99079dcf..4fc849b5 100644 --- a/.github/workflows/macOS_build.yml +++ b/.github/workflows/macOS_build.yml @@ -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 diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 7a205f5a..8aa2ad20 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -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