Skip to content

Commit 78fbcfe

Browse files
authored
Use env.RELEASE_ID
1 parent f48a2ea commit 78fbcfe

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ubuntu.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,21 @@ jobs:
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
run: |
43-
curl -L -o continuous-release-manager-linux https://github.com/probonopd/continuous-release-manager/releases/download/continuous/continuous-release-manager-linux
44-
chmod +x continuous-release-manager-linux
45-
./continuous-release-manager-linux
43+
curl -L -o continuous-release-manager-linux https://github.com/probonopd/continuous-release-manager/releases/download/continuous/continuous-release-manager-linux
44+
chmod +x continuous-release-manager-linux
45+
./continuous-release-manager-linux
46+
RELEASE_ID=$(./continuous-release-manager-linux)
47+
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_ENV
4648
4749
- name: Upload to GitHub Release
4850
if: github.event_name == 'push' # Only run for push events, not pull requests
4951
uses: xresloader/[email protected]
5052
env:
5153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5254
with:
53-
file: "./build/*.zip"
55+
file: "build/*zip"
5456
draft: false
5557
verbose: true
5658
branches: main
57-
update_latest_release: true
5859
tag_name: continuous
60+
release_id: ${{ env.RELEASE_ID }}

0 commit comments

Comments
 (0)