Skip to content

Commit

Permalink
replace set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Terzero committed Jan 23, 2023
1 parent 6bd1f6f commit 38a326d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/aseprite_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
VERSION_INFO=$(echo "${data}" | jq -r '.body')
echo "${LATEST_TAG}" > ${LATEST_TAG}.txt
echo "::set-output name=latest_tag::${LATEST_TAG}"
echo "::set-output name=download_url::${DOWNLOAD_URL}"
echo "::set-output name=version_info::${VERSION_INFO}"
echo "latest_tag=${LATEST_TAG}" >> $GITHUB_OUTPUT
echo "download_url=${DOWNLOAD_URL}" >> $GITHUB_OUTPUT
echo "version_info<<EOF" >> $GITHUB_OUTPUT
echo "$VERSION_INFO" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Load version from cache
id: version_check
uses: actions/cache@v3
Expand All @@ -41,7 +43,7 @@ jobs:
- name: Should we start new build?
id: should_build
if: steps.version_check.outputs.cache-hit != 'true'
run: echo "::set-output name=should_build::true"
run: echo "should_build=true" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
if: steps.should_build.outputs.should_build
Expand Down

0 comments on commit 38a326d

Please sign in to comment.