Skip to content

Commit

Permalink
Upgrade github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Apr 28, 2024
1 parent 7eb77be commit 5a25156
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snapshot-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download artifact
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-1
AWS_BUCKET: snapshot.nextdns.io
- name: Comment Pull Request
uses: actions/github-script@v6
uses: actions/github-script@v7
if: github.event.workflow_run.event == 'pull_request'
with:
script: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snapshot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
url: https://cloud.debian.org/images/cloud/buster/20210621-680/debian-10-generic-amd64-20210621-680.qcow2
steps:
- name: Download artifact
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand All @@ -48,7 +48,7 @@ jobs:
unzip dist.zip
- name: Advertise check in PR
id: initcheck
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const fs = require('fs'),
Expand All @@ -67,7 +67,7 @@ jobs:
check_run_id: result.data.id
};
- name: Cache cloud image
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ matrix.os }}.img
key: ${{ matrix.os }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
-no-reboot || true
[ "$(tail -1 output)" = "OK" ]
- name: Advertise check results in PR
uses: actions/github-script@v6
uses: actions/github-script@v7
if: always()
with:
script: |
Expand Down

0 comments on commit 5a25156

Please sign in to comment.