diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dc1805c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* export-ignore diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index c7680e2..f06e350 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -7,6 +7,12 @@ jobs: release: runs-on: ubuntu-latest steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + path: libraries + persist-credentials: false + - name: Download CE Libraries Zip uses: robinraju/release-downloader@v1 with: @@ -32,8 +38,11 @@ jobs: id: diff_check run: diff clibs.8xg current/clibs.8xg &> /dev/null || (echo "update=true" >> $GITHUB_OUTPUT ; echo "updating") + - name: Update nightly tag date + run: | + cd libraries && git checkout master ; git fetch --all --tags ; git tag -d nightly ; git push origin :refs/tags/nightly ; git tag nightly ; git push --tags + - name: Update nightly release - if: ${{ steps.diff_check.outputs.update == 'true' }} uses: pyTooling/Actions/releaser@main with: tag: nightly