From afe6bcfdf080d696cde917eed2020a20fffa133f Mon Sep 17 00:00:00 2001 From: Margen67 Date: Sat, 18 Nov 2023 14:19:25 -0800 Subject: [PATCH] workflow: update actions Update checkout to v4. Make touch one line. Use v4 instead of entire version number. --- .github/workflows/publish.yml | 7 +++---- .github/workflows/test.yml | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 013151d3ac..da740971cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -27,11 +27,10 @@ jobs: # .nojekyll: to tell GH Pages to not rebuild (lol) # CNAME: to tell GH Pages about the domain name - name: Post-Jekyll build copy files - run: | - touch _site/.nojekyll + run: touch _site/.nojekyll - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: _site # The folder the action should deploy. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d07511b4c8..0fcb9046b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,11 @@ on: jobs: doc-test: - if: github.ref_name != 'l10n' + if: github.ref_name != 'l10n' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false