Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump actions/github-script from 6 to 7 #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/mpv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "cache_id=$(echo $RANDOM | md5sum | head -c 20)" >> $GITHUB_ENV
fi
- id: script
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const commit = await github.rest.repos.getCommit({
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:

- name: "Get artifacts' name and path"
id: get_files
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const path = require('path');
Expand Down Expand Up @@ -335,7 +335,7 @@ jobs:
key: ${{ runner.os }}-mpv-build${{ matrix.bit }}-${{ env.cache_suffix }}

- name: "Job summary"
uses: actions/github-script@v6
uses: actions/github-script@v7
continue-on-error: true
if: ${{ always() }}
with:
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
path: artifacts

- name: "Check artifacts"
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const globber = await glob.create(`artifacts/*/mpv*.7z`);
Expand Down Expand Up @@ -461,7 +461,7 @@ jobs:

- name: "Generate release note"
id: note
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const sha = `${{fromJson(needs.params.outputs.params).sha}}`;
Expand Down