Browse Source

github: try to fix artifacts uploading (YAML is worst markup language)

pull/2/head
Alibek Omarov 3 years ago
parent
commit
f7bf081650
  1. 10
      .github/workflows/c-cpp.yml

10
.github/workflows/c-cpp.yml

@ -11,11 +11,15 @@ jobs:
- os: ubuntu-18.04 - os: ubuntu-18.04
targetos: linux targetos: linux
targetarch: amd64 targetarch: amd64
artifacts: xash3d-fwgs-amd64.AppImage xashds-linux-amd64 artifacts: |
xash3d-fwgs-amd64.AppImage
xashds-linux-amd64
- os: ubuntu-18.04 - os: ubuntu-18.04
targetos: linux targetos: linux
targetarch: i386 targetarch: i386
artifacts: xash3d-fwgs-i386.AppImage xashds-linux-i386 artifacts: |
xash3d-fwgs-i386.AppImage
xashds-linux-i386
- os: ubuntu-18.04 - os: ubuntu-18.04
targetos: android targetos: android
@ -63,7 +67,7 @@ jobs:
run: bash scripts/gha/build_${{ matrix.targetos }}.sh run: bash scripts/gha/build_${{ matrix.targetos }}.sh
- name: Upload engine (prereleases) - name: Upload engine (prereleases)
run: bash scripts/continious_upload.sh ${{ matrix.artifacts }} run: bash scripts/continious_upload.sh ${{ join( matrix.artifacts, ' ' ) }}
- name: Upload engine (artifacts) - name: Upload engine (artifacts)
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

Loading…
Cancel
Save