From 91edaa4922c2b0b9fc4f1ba8eaeffc2ce0ae73ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6gni=20Gylfason?= Date: Thu, 10 Sep 2020 13:02:03 -0400 Subject: [PATCH] add config fetching --- .github/workflows/client.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 8a9cfce..2442873 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -1,21 +1,24 @@ name: 'Client Build' on: release: - types: [published] + types: + - published + - released jobs: Standalone: name: Build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }} runs-on: ubuntu-latest + strategy: fail-fast: false matrix: unityVersion: - 2020.1.4f1 targetPlatform: - - StandaloneOSX - - StandaloneWindows64 + # - StandaloneOSX + # - StandaloneWindows64 - StandaloneLinux64 - - Android + # - Android steps: @@ -24,6 +27,16 @@ jobs: with: lfs: true + - name: Fetch configuration + uses: dsaltares/fetch-gh-release-asset@master + with: + version: tags/${{ env.GITHUB_REF }} + file: cognito.json + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Place configuration + run: mv cognito.json Assets/cognito.json + - name: Cache uses: actions/cache@v1.1.0 with: