1
Fork 0
mirror of https://github.com/Steffo99/particle-clash.git synced 2024-11-21 23:24:18 +00:00

Let's limit ourselves to artifacts, I am tired

This commit is contained in:
Steffo 2022-10-02 16:00:26 +02:00
parent de8546efab
commit 94f360011c
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -10,7 +10,7 @@ jobs:
name: "Build game" name: "Build game"
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: "barichello/godot-ci:3.5.1" image: "barichello/godot-ci:3.4.4"
strategy: strategy:
matrix: matrix:
@ -29,20 +29,18 @@ jobs:
- name: "⚙️ Setup Godot templates" - name: "⚙️ Setup Godot templates"
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/3.5.1.stable ~/.local/share/godot/templates/3.5.1.stable mv /root/.local/share/godot/templates/3.4.4.stable ~/.local/share/godot/templates/3.4.4.stable
- name: "⚙️ Setup Godot build directories" - name: "⚙️ Setup Godot build directories"
run: | run: |
mkdir -v -p export/${{ matrix.target }}/LD51/ mkdir -v -p export/${{ matrix.target }}/LD50/
- name: "🏗️ Build game" - name: "🏗️ Build game"
run: | run: |
godot -v --export "${{ matrix.target }}" godot -v --export "${{ matrix.target }}"
- name: "🌐 Create release" - name: "⬆️ Upload artifact"
uses: ncipollo/release-action@v1.10.0 uses: actions/upload-artifact@v1
with: with:
artifactErrorsFailBuild: true name: "${{ matrix.target }}"
artifacts: export/${{ matrix.target }}/* path: "export/${{ matrix.target }}"
draft: true
generateReleaseNotes: true