diff --git a/.github/workflows/daily-db-publisher.yaml b/.github/workflows/daily-db-publisher.yaml index 558f3cf9..279d16ee 100644 --- a/.github/workflows/daily-db-publisher.yaml +++ b/.github/workflows/daily-db-publisher.yaml @@ -48,7 +48,7 @@ jobs: id: read-schema-versions run: | content=`cat grype-schema-version-mapping.json | jq -c 'keys'` - echo "::set-output name=schema-versions::$content" + echo "schema-versions=$content" >> $GITHUB_OUTPUT generate-and-publish-dbs: # note about workflow dispatch inputs and booleans: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index af9ce2d6..c0e06369 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,7 +67,7 @@ jobs: id: read-schema-versions run: | content=`cat grype-schema-version-mapping.json | jq -c 'keys'` - echo "::set-output name=schema-versions::$content" + echo "schema-versions=$content" >> $GITHUB_OUTPUT quality-gate-acceptance-test: needs: read-schema-versions diff --git a/.github/workflows/update-grype-release.yml b/.github/workflows/update-grype-release.yml index 393300e5..e7031100 100644 --- a/.github/workflows/update-grype-release.yml +++ b/.github/workflows/update-grype-release.yml @@ -29,7 +29,7 @@ jobs: go mod tidy # export the version for use with create-pull-request - echo "::set-output name=LATEST_VERSION::$LATEST_VERSION" + echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_OUTPUT id: latest-version - uses: tibdex/github-app-token@v1 diff --git a/.github/workflows/validations.yaml b/.github/workflows/validations.yaml index 1bd7e83a..6e400958 100644 --- a/.github/workflows/validations.yaml +++ b/.github/workflows/validations.yaml @@ -85,7 +85,7 @@ jobs: id: read-schema-versions run: | content=`cat grype-schema-version-mapping.json | jq -c 'keys'` - echo "::set-output name=schema-versions::$content" + echo "schema-versions=$content" >> $GITHUB_OUTPUT # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline Acceptance-Test: