add activation workflow and set retention periods (#201)

* add activation workflow

* Trigger on push as well

* use specific version

* Set more sensible retention periods
This commit is contained in:
Webber Takken
2021-01-23 10:06:32 +01:00
committed by GitHub
parent 56b9864426
commit 89df68796c
3 changed files with 25 additions and 3 deletions

20
.github/workflows/activation.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Acquire activation file
on:
workflow_dispatch:
jobs:
activation:
name: Request manual activation file 🔑
runs-on: ubuntu-latest
steps:
# Request manual activation file
- name: Unity - Request Activation File
id: requestActivationFile
uses: game-ci/unity-request-activation-file@v2.0-alpha-1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.requestActivationFile.outputs.filePath }}
path: ${{ steps.requestActivationFile.outputs.filePath }}
retention-days: 3