Skip to content

Commit

Permalink
remove use of deprecated github actions funcion "set-output" (#73)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
  • Loading branch information
wagoodman authored Mar 10, 2023
1 parent b6c16ba commit 817e1c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-db-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-grype-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 817e1c8

Please sign in to comment.