Skip to content

Commit

Permalink
Merge pull request #36 from KWasm/dependabot/github_actions/actions/g…
Browse files Browse the repository at this point in the history
…ithub-script-7.0.1

Bump actions/github-script from 6.4.1 to 7.0.1
  • Loading branch information
flavio authored Dec 4, 2023
2 parents b59b36a + 478bd72 commit 3b9d967
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Get latest release tag
id: get_last_release_tag
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
let release = await github.rest.repos.getLatestRelease({
Expand All @@ -54,7 +54,7 @@ jobs:
core.setFailed("Cannot find latest release")
- name: Get release ID from the release created by release drafter
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
let releases = await github.rest.repos.listReleases({
Expand All @@ -80,7 +80,7 @@ jobs:

- name: Upload release assets
id: upload_release_assets
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
let fs = require('fs');
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
}
- name: Publish release
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const {RELEASE_ID} = process.env
Expand Down

0 comments on commit 3b9d967

Please sign in to comment.