diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index 104c42a..41abef2 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -14,22 +14,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.ROBO_ACTIONS }} - name: Check Tag Name id: check_tag_name if: ${{ github.event.inputs.tag_name != '' }} - uses: actions-ecosystem/action-regex-match@v2 - with: - text: ${{ github.event.inputs.tag_name }} - regex: '^\d+\.\d+\.\d+$' + run: echo "valid=yes" >> "$GITHUB_OUTPUT" +# uses: actions-ecosystem/action-regex-match@v2 +# with: +# text: ${{ github.event.inputs.tag_name }} +# regex: '^\d+\.\d+\.\d+$' - name: GPG Import - if: ${{ steps.check_tag_name.outputs.match != '' }} - uses: crazy-max/ghaction-import-gpg@v5 + if: ${{ steps.check_tag_name.outputs.valid == 'yes' }} + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.NEW_SIGNING_STUFF }} passphrase: ${{ secrets.SIGNING_BONUS_PHRASE }} @@ -38,7 +39,7 @@ jobs: - name: Sign and Push Tag id: create_archive - if: ${{ steps.check_tag_name.outputs.match != '' }} + if: ${{ steps.check_tag_name.outputs.valid == 'yes' }} run: | git config tar.tar.gz.command 'gzip -cn' git tag -s ${{ github.event.inputs.tag_name }} -m 'Tag for ${{ github.event.inputs.tag_name }} release' @@ -54,7 +55,7 @@ jobs: gpg --detach-sign --pinentry-mode loopback --passphrase ${{ secrets.SIGNING_BONUS_PHRASE }} ${FNAME}.zip - name: Create Release - if: ${{ steps.check_tag_name.outputs.match != '' }} + if: ${{ steps.check_tag_name.outputs.valid == 'yes' }} uses: ncipollo/release-action@v1 with: token: ${{ secrets.ROBO_ACTIONS }} diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml index ba3d62a..37f4937 100644 --- a/.github/workflows/mac-build.yml +++ b/.github/workflows/mac-build.yml @@ -40,10 +40,10 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Custom Qt - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{runner.workspace}}/${{env.QT}} key: ${{ runner.os }}-qtdeps-${{hashFiles('**/reset-mac-caches.txt')}} @@ -99,7 +99,7 @@ jobs: tar -cJf PageEdit.tar.xz PageEdit.app - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: "contains(github.event.head_commit.message, '[deploy]')" with: name: pageedit-installer diff --git a/.github/workflows/make_blog_post.yml b/.github/workflows/make_blog_post.yml index 94e83b0..ed97195 100644 --- a/.github/workflows/make_blog_post.yml +++ b/.github/workflows/make_blog_post.yml @@ -14,13 +14,13 @@ jobs: run: echo "TAGNAME=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master path: main - name: Checkout website - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.ROBO_ACTIONS }} repository: sigil-ebook/sigil-ebook.github.io @@ -36,7 +36,7 @@ jobs: - name: Commit post to blog if: "!github.event.release.prerelease" - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: repository: website commit_user_name: My GitHub Actions Bot diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 2b0d193..3ee806c 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -42,15 +42,15 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11.3 - name: Cache Custom Qt - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{runner.workspace}}\${{env.QT}} key: ${{ runner.os }}-qtdeps-${{hashFiles('**/reset-win-caches.txt')}} @@ -98,7 +98,7 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.38 ninja -j2 deployinstaller - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: "contains(github.event.head_commit.message, '[deploy]')" with: name: pageedit-installer