1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-07-27 01:51:49 +00:00

Remove usage of set-output from our GitHub Actions workflow

GitHub has deprecated the set-output command per:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This updates the GitHub Actions workflow to use the newly preferred
method to set the output for a job's step.
This commit is contained in:
Nicholas McDonnell 2022-10-11 10:57:16 -04:00
parent a8bcddd6c5
commit 71a88a5694
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -33,7 +33,7 @@ jobs:
- name: Lookup Go cache directory
id: go-cache
run: |
echo "::set-output name=dir::$(go env GOCACHE)"
echo "dir=$(go env GOCACHE)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
env:
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\