diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..193173a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,28 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: oliexe + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, could you add screenshots to help explain your problem? + +**Platform:** + - OS: [e.g. Android, iOS] + - SDK Version [e.g. 1.0.1] + - Unity Version [e.g. 2021.3.1.18f1] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/workflows/activate.yml b/.github/workflows/activate.yml new file mode 100644 index 0000000..0827bbd --- /dev/null +++ b/.github/workflows/activate.yml @@ -0,0 +1,18 @@ +name: Acquire activation file +on: + workflow_dispatch: {} +jobs: + activation: + name: Request manual activation file 🔑 + runs-on: ubuntu-latest + steps: + # Request manual activation file + - name: Request manual activation file + id: getManualLicenseFile + uses: game-ci/unity-request-activation-file@v2 + # 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 }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4b97e89 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: Build & Test Stash Unity + +on: [push, pull_request] + +jobs: + buildForAllSupportedPlatforms: + name: Build for ${{ matrix.targetPlatform }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + targetPlatform: + - StandaloneWindows64 # Build a Windows 64-bit standalone. + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + lfs: true + - uses: actions/cache@v2 + with: + path: Library + key: Library-${{ matrix.targetPlatform }} + restore-keys: Library- + - uses: game-ci/unity-builder@v2 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + with: + targetPlatform: ${{ matrix.targetPlatform }} + - uses: actions/upload-artifact@v2 + with: + name: Build-${{ matrix.targetPlatform }} + path: build/${{ matrix.targetPlatform }}