Skip to content

Commit

Permalink
Feat: zip resources correctly (#36)
Browse files Browse the repository at this point in the history
* rename releases before uploading

* temporary removal of .tga's to transition to lfs

* fix: added install lfs and lfs pull steps

* lfs attributes and .ds_store added to gitignore

* further addition to lfs tracking

* rcb added to lfs

* ignore eol

* remove text from attributes

* add mod resources

* fix: correct folder structure applied, removed superflous publish artifacts steps in release workflow.

* fix: removed publish artifact steps.

* fix: zip the folder with the correct structure
  • Loading branch information
sargeantPig authored Oct 24, 2023
1 parent c2ea532 commit c7a4670
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ jobs:
- name: Create Zip Archive
if: ${{ steps.release.outputs.release_created }}
run: |
zip -r mod_files.zip ${{github.workspace}}/mod_files/Mods
cd ${{github.workspace}}/mod_files
ls -a
zip -r -j mod_files.zip ./Mods
cd ../
mv ./mod_files/mod_files.zip ./publish/mod_files.zip
shell: bash

- name: Publish Windows Build
Expand Down Expand Up @@ -74,4 +78,5 @@ jobs:
gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/win-x64/* --clobber
gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/osx-x64/* --clobber
gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/linux-x64/* --clobber
gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/mod_files.zip --clobber
gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/mod_files.zip --clobber

0 comments on commit c7a4670

Please sign in to comment.