Skip to content

Commit

Permalink
GitHub: Update checkout, cache, AWS cred. actions
Browse files Browse the repository at this point in the history
... to silence deprecation warning regarding Node.js 12 and 16 actions.
  • Loading branch information
dcommander committed Jan 26, 2024
1 parent 7007756 commit 6bc62cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
echo "BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >$GITHUB_ENV
echo "LJT_URL=https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/$LJT_VERSION" >>$GITHUB_ENV
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up build
run: |
mkdir -p $HOME/src/vnc.nightly
Expand All @@ -45,7 +45,7 @@ jobs:
echo "GPG_KEY_ID=${{secrets.GPG_KEY_ID}}" >>$HOME/src/buildscripts/gpgsign
echo "GPG_KEY_PASS=${{secrets.GPG_KEY_PASS}}" >>$HOME/src/buildscripts/gpgsign
- name: Cache OpenJDK
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.openjdk
key: openjdk-${{github.job}}-${{env.BRANCH}}
Expand All @@ -57,7 +57,7 @@ jobs:
mv $HOME/src/vnc.nightly/latest/log-${{github.job}}.txt $HOME/src/vnc.nightly/latest/files/
- name: Configure AWS
if: ${{github.event_name != 'pull_request'}}
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}}
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}}
Expand All @@ -74,7 +74,7 @@ jobs:
echo "BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >$GITHUB_ENV
echo "LJT_URL=https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/$LJT_VERSION" >>$GITHUB_ENV
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up build
run: |
sudo apt install -y libxi-dev
Expand All @@ -101,7 +101,7 @@ jobs:
echo "BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >$GITHUB_ENV
echo "LJT_URL=https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/$LJT_VERSION" >>$GITHUB_ENV
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up build
run: |
brew install md5sha1sum
Expand All @@ -125,7 +125,7 @@ jobs:
echo "GPG_KEY_ID=${{secrets.GPG_KEY_ID}}" >>$HOME/src/buildscripts/gpgsign
echo "GPG_KEY_PASS=${{secrets.GPG_KEY_PASS}}" >>$HOME/src/buildscripts/gpgsign
- name: Cache OpenJDK
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.openjdk
key: openjdk-${{github.job}}-${{env.BRANCH}}
Expand All @@ -135,7 +135,7 @@ jobs:
mv $HOME/src/vnc.nightly/latest/log-${{github.job}}.txt $HOME/src/vnc.nightly/latest/files/
- name: Configure AWS
if: ${{github.event_name != 'pull_request'}}
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}}
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}}
Expand Down

0 comments on commit 6bc62cf

Please sign in to comment.