Skip to content

Commit

Permalink
Merge pull request #36 from WitchesOfThePlanes/release_building
Browse files Browse the repository at this point in the history
[GENERAL] zip/tarball: shorter, simpler names
  • Loading branch information
Udiknedormin authored Feb 11, 2023
2 parents bbe4fbe + 579cb4e commit c02214a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Get tag name
id: get_tag_name
run: |
echo ::set-output name=TAG_NAME::${GITHUB_REF#refs/tags/}
- name: Create directory
run: |
mkdir -p target/release
Expand All @@ -35,7 +39,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: target/release/CompassOfWomanhood.zip
asset_name: CompassOfWomanhood-${{ github.ref }}.zip
asset_name: CompassOfWomanhood-${{ steps.get_tag_name.outputs.TAG_NAME }}.zip
overwrite: true
body: "Game files (zip)"
- name: Upload tarball to release
Expand All @@ -44,6 +48,6 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: target/release/CompassOfWomanhood.tar.gz
asset_name: CompassOfWomanhood-${{ github.ref }}.tar.gz
asset_name: CompassOfWomanhood-${{ steps.get_tag_name.outputs.TAG_NAME }}.tar.gz
overwrite: true
body: "Game files (tarball)"

0 comments on commit c02214a

Please sign in to comment.