Fix missing extension on windows build artifacts

This commit is contained in:
2023-08-17 14:10:34 +02:00
parent 401dda3f8e
commit d5d27418d1

View File

@@ -12,7 +12,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
platform: [linux, windows] platform:
- name: linux
extension:
- name : windows
extension: .exe
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@@ -21,18 +25,18 @@ jobs:
id: build id: build
uses: manleydev/build-godot-action@v1.5.0 uses: manleydev/build-godot-action@v1.5.0
with: with:
name: example name: reno${{ matrix.platform.extension }}
preset: ${{ matrix.platform }} preset: ${{ matrix.platform.name }}
debugMode: "true" debugMode: "true"
- name: Upload Build Artifact - name: Upload Build Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: TohoReno-${{ matrix.platform }} name: TohoReno-${{ matrix.platform.name }}
path: | path: |
${{ github.workspace }}/${{ steps.build.outputs.build }} ${{ github.workspace }}/${{ steps.build.outputs.build }}
- name: Upload Example Config Artifact - name: Upload Example Config Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: TohoReno-${{ matrix.platform }} name: TohoReno-${{ matrix.platform.name }}
path: | path: |
${{ github.workspace }}/example-config.cfg ${{ github.workspace }}/example-config.cfg