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 27f43b5 commit 064b58b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: Construct filename
id: construct_filename
run: |
filename="${{ env.MAP_NAME }}${{ steps.get_version.outputs.RELEASE }}-NIGHTLY${{ steps.get_version.outputs.NIGHTLY }}"
filename="${{ env.MAP_NAME }}${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}"
filename="${filename}.zip"
echo "::set-output name=zipname::$filename"
- name: Install 7zip
run: sudo apt-get install p7zip-full
- name: Zip Resource Pack
- name: Zip Custom Map
run: |
7z a -r -mx9 -tzip ${{ steps.construct_filename.outputs.zipname }} . -xr!.gitignore -xr!.github -xr!.git -xr!version.json -xr!*.zip
- name: Upload Artifact
Expand Down

0 comments on commit 064b58b

Please sign in to comment.