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:
|
||||
- cron: 0 0 */14 * * # run every 14 days
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -191,7 +191,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Set the 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:
|
||||
cli-versions: ${{ steps.set-variables.outputs.cli-versions }}
|
||||
cli-test:
|
||||
|
||||
Reference in New Issue
Block a user