Skip to content

Commit

Permalink
Merge pull request #553 from ndw/action-fixes
Browse files Browse the repository at this point in the history
Bump versions of GitHub actions
  • Loading branch information
ndw authored Nov 2, 2024
2 parents e86f67f + 0d621db commit b8fdda2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
guideversion: ${{ steps.check_step.outputs.guideversion }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Checkout the main branch on Mac
if: matrix.os == 'macos-11'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get the latest releases (authenticated request on mac)
if: ${{ matrix.os == 'macos-11' && env.HAVE_ACCESS_TOKEN == 'true' }}
Expand All @@ -96,13 +96,13 @@ jobs:

- name: Install dependencies on Windows
if: matrix.os == 'windows-2019'
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install sass

- name: Checkout the main branch on Windows
if: matrix.os == 'windows-2019'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get the latest releases (authenticated request on Windows)
if: ${{ matrix.os == 'windows-2019' && env.HAVE_ACCESS_TOKEN == 'true' }}
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Checkout the gh-pages branch on Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'gh-pages'

Expand All @@ -149,7 +149,7 @@ jobs:
- name: Checkout the main branch on Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup SaxonEE on Linux
if: ${{ matrix.os == 'ubuntu-20.04' && env.HAVE_SAXON_EE == 'true' }}
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
target-folder: /release/xsltng/current

- name: Publish release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{ matrix.os == 'ubuntu-20.04' && env.HAVE_ACCESS_TOKEN == 'true' && env.CI_BRANCH == 'main' && env.CI_TAG != '' }}
with:
draft: false
Expand All @@ -236,7 +236,7 @@ jobs:
rm -f secret.gpg
- name: Checkout the CDN
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ matrix.os == 'ubuntu-20.04' && env.HAVE_ACCESS_TOKEN == 'true' && env.CI_BRANCH == 'main' && env.CI_TAG != '' }}
with:
repository: ${{ github.repository_owner}}/cdn
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
tag: ${{ steps.check_step.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Checkout the pull request on Mac
if: matrix.os == 'macos-11'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Expand All @@ -91,13 +91,13 @@ jobs:

- name: Install dependencies on Windows
if: matrix.os == 'windows-2019'
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install sass

- name: Checkout the pull request on Windows
if: matrix.os == 'windows-2019'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Checkout the pull request on Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Expand Down

0 comments on commit b8fdda2

Please sign in to comment.