permission conf and removed deprecated use of set-output
This commit is contained in:
4
.github/workflows/bump-cli.yml
vendored
4
.github/workflows/bump-cli.yml
vendored
@@ -8,6 +8,10 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 */14 * * # run every 14 days
|
- cron: 0 0 */14 * * # run every 14 days
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
|
|||||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -191,7 +191,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set the variables
|
- name: Set the variables
|
||||||
id: set-variables
|
id: set-variables
|
||||||
run: echo "::set-output name=cli-versions::$(cat ./supported_cli_versions.json | jq)"
|
run: echo "cli-versions=$(cat ./supported_cli_versions.json | jq -rc)" >> $GITHUB_OUTPUT
|
||||||
outputs:
|
outputs:
|
||||||
cli-versions: ${{ steps.set-variables.outputs.cli-versions }}
|
cli-versions: ${{ steps.set-variables.outputs.cli-versions }}
|
||||||
cli-test:
|
cli-test:
|
||||||
|
|||||||
Reference in New Issue
Block a user