Skip to content

Commit

Permalink
Update actions used in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jun 23, 2023
1 parent 250b2ec commit 51b185b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
sudo apt-get update
sudo apt-get install -y cmake libsdl2-dev libsdl2-ttf-dev
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
make
strip --strip-unneeded laserkombat
- name: Publish artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: laserkombat-linux
path: |
Expand All @@ -46,7 +46,7 @@ jobs:
mingw-w64-x86_64-SDL2_ttf
update: true
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build
run: |
cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" .
Expand All @@ -69,7 +69,7 @@ jobs:
matrix:
build: [linux, windows]
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
- name: Zip artifacts
run: |
zip -r laserkombat-${{matrix.build}}.zip laserkombat-${{matrix.build}}
Expand Down

0 comments on commit 51b185b

Please sign in to comment.