Skip to content

Commit

Permalink
Exclude object files from workflow artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Llennpie committed Jan 3, 2024
1 parent b8280b1 commit caea1fb
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
- name: Fetch Dependencies
run: pacman -S --noconfirm unzip make git mingw-w64-i686-gcc mingw-w64-x86_64-gcc mingw-w64-i686-glew mingw-w64-x86_64-glew mingw-w64-i686-SDL2 mingw-w64-i686-SDL mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL python3 mingw-w64-x86_64-curl mingw-w64-x86_64-jsoncpp
- name: Build
run: make
run: |
make
cd build/us_pc
rm -rf textures text src sound lib levels include data bin assets actors res
rm -f level_rules.mk
cd ../../
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -34,11 +39,16 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Fetch Dependencies
run: sudo apt install build-essential git python3 libglew-dev libsdl2-dev curl libcurl4-gnutls-dev libjsoncpp-dev
run: sudo apt install -y build-essential git python3 libglew-dev libsdl2-dev curl libcurl4-gnutls-dev libjsoncpp-dev
- name: Build
run: make
run: |
make
cd build/us_pc
rm -rf textures text src sound lib levels include data bin assets actors res
rm -f level_rules.mk
cd ../../
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: saturn-${{ github.run_number }}-${{ github.job }}
path: /home/runner/work/Saturn/Saturn/build/us_pc
path: /home/runner/work/Saturn/Saturn/build/us_pc

0 comments on commit caea1fb

Please sign in to comment.