Skip to content

Commit

Permalink
Fix how env vars need to be set now…
Browse files Browse the repository at this point in the history
  • Loading branch information
meeDamian committed May 25, 2021
1 parent 6a8541d commit 1e0f50b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
echo "Nothing to do. Exiting."
exit 0
fi
echo ::set-env name=VERSION::"$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
URL="$(./modify-image.sh url)"
echo ::set-env name=SRC_URL::"$URL"
echo ::set-env name=SRC_FILE::"$(basename "$URL")"
echo "SRC_URL=$URL" >> $GITHUB_ENV
echo "SRC_FILE=$(basename "$URL")" >> $GITHUB_ENV
- name: Modify Raspberry Pi OS image
if: env.VERSION != ''
run: |
./modify-image-in-docker.sh
echo ::set-env name=FILE::"$(cd images && ls *-firstboot.zip)"
echo "FILE=$(cd images && ls *-firstboot.zip)" >> $GITHUB_ENV
- name: Create Github Release
uses: meeDamian/[email protected]
Expand Down

0 comments on commit 1e0f50b

Please sign in to comment.