permission conf and removed deprecated use of set-output

This commit is contained in:
Taj
2022-12-16 17:09:39 +00:00
parent 2723816a5a
commit ec9078d616
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ on:
schedule:
- cron: 0 0 */14 * * # run every 14 days
permissions:
contents: write
pull-requests: write
jobs:
build:
name: Build

View File

@@ -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: