Skip to content

Commit

Permalink
Use env.RELEASE_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Aug 2, 2023
1 parent f48a2ea commit 78fbcfe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -L -o continuous-release-manager-linux https://github.com/probonopd/continuous-release-manager/releases/download/continuous/continuous-release-manager-linux
chmod +x continuous-release-manager-linux
./continuous-release-manager-linux
curl -L -o continuous-release-manager-linux https://github.com/probonopd/continuous-release-manager/releases/download/continuous/continuous-release-manager-linux
chmod +x continuous-release-manager-linux
./continuous-release-manager-linux
RELEASE_ID=$(./continuous-release-manager-linux)
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_ENV
- name: Upload to GitHub Release
if: github.event_name == 'push' # Only run for push events, not pull requests
uses: xresloader/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./build/*.zip"
file: "build/*zip"
draft: false
verbose: true
branches: main
update_latest_release: true
tag_name: continuous
release_id: ${{ env.RELEASE_ID }}

0 comments on commit 78fbcfe

Please sign in to comment.