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 4, 2024
1 parent 2ff629e commit ca5a7f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jobs:
with:
name: ${{ steps.construct_filename.outputs.zipname }}
path: ${{ steps.construct_filename.outputs.zipname }}
- name: Construct release name
id: construct_release_name
run: |
base_name="${{ env.MAP_NAME_SPACE }} | ${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}"
release_name="$base_name"
fi
echo "::set-output name=releasename::$release_name"
- name: Construct tag name
id: construct_tag
run: |
Expand All @@ -55,6 +62,10 @@ jobs:
echo "::set-output name=tag::$tag_name"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.construct_tag.outputs.tag }}
files: |
${{ steps.construct_filename.outputs.zipname }}
env:
GH_TOKEN: ${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}
- name: Get Download URL
Expand Down

0 comments on commit ca5a7f6

Please sign in to comment.