Skip to content

Commit

Permalink
add config fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
klumhru committed Sep 10, 2020
1 parent 8d42336 commit 91edaa4
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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/[email protected]
with:
Expand Down

0 comments on commit 91edaa4

Please sign in to comment.