diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 24eb081..cf9a2b2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,14 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Cache Library - uses: actions/cache@v3 - with: - path: Library - key: Library-${{ hashFiles('**/*.cs', '**/*.shader', '**/*.prefab', '**/*.unity', '**/*.json', '**/*.txt', '**/*.xml', '**/*.png', '**/*.jpg', '**/*.mp4', '**/*.wav', '**/*.ogg') }} - restore-keys: | - Library- - - name: Checkout code uses: actions/checkout@v2 @@ -26,6 +18,14 @@ jobs: git reset --hard git clean -fd + - name: Cache Library + uses: actions/cache@v3 + with: + path: Library + key: Library-${{ hashFiles('**/*.cs', '**/*.shader', '**/*.prefab', '**/*.unity', '**/*.json', '**/*.txt', '**/*.xml', '**/*.png', '**/*.jpg', '**/*.mp4', '**/*.wav', '**/*.ogg') }} + restore-keys: | + Library- + - name: Install Butler run: | curl -LO https://itch.io/butler/installation/linux/butler @@ -37,9 +37,7 @@ jobs: with: unityVersion: 2022.3.27f1 targetPlatform: StandaloneWindows64 - UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_LICENSE }} - name: Build Unity Project run: |