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 23fb51d commit 8321d21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: sudo apt-get install p7zip-full
- name: Zip Custom Map
run: |
7z a -r -mx9 -tzip ${{ steps.construct_filename.outputs.zipname }} . -xr!.gitignore -xr!.github -xr!.git -xr!building_version -xr!*.zip
7z a -r -mx9 -tzip ${{ steps.construct_filename.outputs.zipname }} . -xr!.gitignore -xr!.github -xr!.git -xr!*.zip
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -57,8 +57,9 @@ jobs:
- name: Construct tag name
id: construct_tag
run: |
fi
tag_name="${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}"
release_name="$base_name"
fi
echo "::set-output name=tag::$tag_name"
- name: Create Release
uses: softprops/action-gh-release@v1
Expand All @@ -69,5 +70,5 @@ jobs:
env:
GH_TOKEN: ${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}
- name: Get Download URL
run: |
run: |
echo "${{ env.REPO_URL }}/releases/download/${{ steps.construct_tag.outputs.tag }}/${{ steps.construct_filename.outputs.zipname }}"

0 comments on commit 8321d21

Please sign in to comment.