diff --git a/.github/workflows/manual_activation.yml b/.github/workflows/manual_activation.yml new file mode 100644 index 0000000..b496fa9 --- /dev/null +++ b/.github/workflows/manual_activation.yml @@ -0,0 +1,25 @@ +name: Acquire activation file +on: + workflow_dispatch: + inputs: + unityVersion: + description: 'Unity version to use during activation request' + required: true + default: 2020.1.7f1 +jobs: + activation: + name: Request manual activation file 🔑 + runs-on: ubuntu-latest + steps: + # Request manual activation file + - name: Request manual activation file + id: getManualLicenseFile + uses: webbertakken/unity-request-manual-activation-file@v1.1 + with: + unityVersion: ${{ github.event.inputs.unityVersion }} + # Upload artifact (Unity_v20XX.X.XXXX.alf) + - name: Expose as artifact + uses: actions/upload-artifact@v1 + with: + name: ${{ steps.getManualLicenseFile.outputs.filePath }} + path: ${{ steps.getManualLicenseFile.outputs.filePath }} \ No newline at end of file