mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
Bump actions/github-script from 4 to 6 (#10246)
* Bump actions/github-script from 4 to 6 Bumps [actions/github-script](https://github.com/actions/github-script) from 4 to 6. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update to github.rest.* for calls to API for compat w/ github-script@v5+ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
This commit is contained in:
parent
aaba00c354
commit
9a0d4775ae
@ -62,13 +62,13 @@ jobs:
|
||||
SECRET: "${{ secrets.INSTALLER_UPLOAD_SECRET }}"
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
@ -83,13 +83,13 @@ jobs:
|
||||
chmod +x "$GITHUB_WORKSPACE/madmax/chia_plot_k34"
|
||||
|
||||
# Get the most recent release from bladebit
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-bladebit'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'bladebit',
|
||||
});
|
||||
|
@ -96,13 +96,13 @@ jobs:
|
||||
SECRET: "${{ secrets.INSTALLER_UPLOAD_SECRET }}"
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
@ -117,13 +117,13 @@ jobs:
|
||||
chmod +x "$GITHUB_WORKSPACE/madmax/chia_plot_k34"
|
||||
|
||||
# Get the most recent release from bladebit
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-bladebit'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'bladebit',
|
||||
});
|
||||
|
@ -65,13 +65,13 @@ jobs:
|
||||
SECRET: "${{ secrets.INSTALLER_UPLOAD_SECRET }}"
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
@ -86,13 +86,13 @@ jobs:
|
||||
chmod +x "$GITHUB_WORKSPACE/madmax/chia_plot_k34"
|
||||
|
||||
# Get the most recent release from bladebit
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-bladebit'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'bladebit',
|
||||
});
|
||||
|
4
.github/workflows/build-macos-installer.yml
vendored
4
.github/workflows/build-macos-installer.yml
vendored
@ -104,13 +104,13 @@ jobs:
|
||||
p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }}
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
|
@ -78,13 +78,13 @@ jobs:
|
||||
p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }}
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
|
@ -105,13 +105,13 @@ jobs:
|
||||
deactivate
|
||||
|
||||
# Get the most recent release from chia-plotter-madmax
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-madmax'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'chia-plotter-madmax',
|
||||
});
|
||||
@ -124,13 +124,13 @@ jobs:
|
||||
Invoke-WebRequest https://github.com/Chia-Network/chia-plotter-madmax/releases/download/${{ steps.latest-madmax.outputs.result }}/chia_plot_k34-${{ steps.latest-madmax.outputs.result }}.exe -OutFile "$env:GITHUB_WORKSPACE\madmax\chia_plot_k34.exe"
|
||||
|
||||
# Get the most recent release from bladebit
|
||||
- uses: actions/github-script@v4
|
||||
- uses: actions/github-script@v6
|
||||
id: 'latest-bladebit'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-encoding: string
|
||||
script: |
|
||||
const releases = await github.repos.listReleases({
|
||||
const releases = await github.rest.repos.listReleases({
|
||||
owner: 'Chia-Network',
|
||||
repo: 'bladebit',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user