fix dockerRepoVersion (#99) #179
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Actions 😎 | |
on: | |
pull_request: {} | |
push: { branches: [main] } | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- run: yarn | |
- run: yarn lint | |
- run: yarn test | |
- run: yarn build || { echo "build command should always succeed" ; exit 61; } | |
# - run: yarn build --quiet && git diff --quiet dist || { echo "dist should be auto generated" ; exit 62; } | |
requestManualActivationFile: | |
name: Request manual activation file 🔑 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
unityVersion: | |
- 2018.4.15f1 | |
- 2019.2.11f1 | |
- 2019.2.14f1 | |
- 2019.2.17f1 | |
# - 2020.1.0a15 | |
steps: | |
# Checkout repository (required to test local actions) | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Request manual activation file | |
- name: Request manual activation file | |
id: getManualLicenseFile | |
uses: ./ | |
with: | |
unityVersion: ${{ matrix.unityVersion }} | |
# Upload artifact (Unity_v20XX.X.XXXX.alf) | |
- name: Expose as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ steps.getManualLicenseFile.outputs.filePath }} | |
path: ${{ steps.getManualLicenseFile.outputs.filePath }} |