Upgrade deprecated GitHub actions

Actions based on Node.js 16 are deprecated. The following must be
upgraded one major version.
    - actions/checkout@v3
    - actions/cache@v3
    - actions/upload-artifact@v3
    - softprops/action-gh-release@v1
This commit is contained in:
Lawrence Lee
2024-06-01 17:15:20 -07:00
parent 1aefd200d8
commit fab4b4f614
4 changed files with 16 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: |
date -u
@@ -97,7 +97,7 @@ jobs:
"ARTIFACT_FILE: ${ARTIFACT_FILE}" \
"PUBLISH_NAME: ${PUBLISH_NAME}"
exit
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{env.ARTIFACT_FILE}}
path: ${{env.ARTIFACT_PATH}}
@@ -107,7 +107,7 @@ jobs:
zsh -c 'echo "Build completed in $(printf "%0.2f" $(($[$(date +%s)-$(cat build/stamp)]/$((60.))))) minutes"'
- name: Publish artifacts
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{github.ref_type == 'tag' || github.ref_name == 'dev'}}
with:
tag_name: nightly-github-actions