Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Loweredgames committed Feb 19, 2024
1 parent 013a9f1 commit 5b91fab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
Nightly_Github_Tag = data.get('Nightly_Github_Tag', '')
print(f"::set-output name=RELEASE::{Release_Id}")
print(f"::set-output name=NIGHTLY::{Nightly_Release_Id}")
print(f"::set-output name=NIGHTLY_Github::{Nightly_Github_Tag}")
print(f"::set-output name=NIGHTLY_TAG::{Nightly_Github_Tag}")
shell: python
- name: Construct filename
id: construct_filename
Expand All @@ -58,12 +58,13 @@ jobs:
- name: Construct tag name
id: construct_tag
run: |
tag_name="${{ steps.get_version.outputs.TAG }}"
echo "::set-output name=tag::$Nightly_Github_Tag"
tag_name="${{ steps.get_version.outputs.TAG_RELEASE }}" then
tag_name="${tag_name}_${{ steps.get_version.outputs.NIGHTLY_TAG }}"
echo "::set-output name=tag::$tag_name"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.construct_tag.outputs.TAG }}
tag_name: ${{ steps.construct_tag.outputs.TAG_RELEASE }}
files: |
${{ steps.construct_filename.outputs.zipname }}
env:
Expand Down

0 comments on commit 5b91fab

Please sign in to comment.