From 78142b0d353966636f129466392b70b71335ea4e Mon Sep 17 00:00:00 2001 From: Ryodo Tanaka Date: Tue, 11 Jul 2023 18:45:49 +0900 Subject: [PATCH 1/2] Fix activation method (#3) --- .github/workflows/activation.yml | 54 ++++++++++++++++++++++++++++ .github/workflows/activation2020.yml | 22 ------------ .github/workflows/activation2021.yml | 22 ------------ .github/workflows/activation2022.yml | 22 ------------ 4 files changed, 54 insertions(+), 66 deletions(-) create mode 100644 .github/workflows/activation.yml delete mode 100644 .github/workflows/activation2020.yml delete mode 100644 .github/workflows/activation2021.yml delete mode 100644 .github/workflows/activation2022.yml diff --git a/.github/workflows/activation.yml b/.github/workflows/activation.yml new file mode 100644 index 00000000..fdf75602 --- /dev/null +++ b/.github/workflows/activation.yml @@ -0,0 +1,54 @@ +name: Acquire activation file from 2020 to 2022 LTS + +on: + workflow_dispatch: {} + +jobs: + activation2020: + 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 + with: + unityVersion: 2020.3.48f1 + # 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 }} + activation2021: + 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 + with: + unityVersion: 2021.3.28f1 + # 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 }} + activation2022: + 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 + with: + unityVersion: 2022.3.4f1 + # 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/activation2020.yml b/.github/workflows/activation2020.yml deleted file mode 100644 index 2a4409ad..00000000 --- a/.github/workflows/activation2020.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Acquire activation file for 2020 - -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 - with: - unityVersion: 2020.3.48f1 - # 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/activation2021.yml b/.github/workflows/activation2021.yml deleted file mode 100644 index cfe85c2c..00000000 --- a/.github/workflows/activation2021.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Acquire activation file for 2021 - -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 - with: - unityVersion: 2021.3.28f1 - # 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/activation2022.yml b/.github/workflows/activation2022.yml deleted file mode 100644 index 758a6483..00000000 --- a/.github/workflows/activation2022.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Acquire activation file for 2022 - -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 - with: - unityVersion: 2022.3.4f1 - # 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 }} From 4b267ae59bce72c2f3a302ec46e251ca79e51d7e Mon Sep 17 00:00:00 2001 From: Ryodo Tanaka Date: Tue, 5 Dec 2023 04:27:23 +0900 Subject: [PATCH 2/2] Update to ignore vscode sttings --- .gitignore | 5 +++- .vscode/settings.json | 55 ------------------------------------------- 2 files changed, 4 insertions(+), 56 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index f4857f60..7a97a7de 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,9 @@ # Visual Studio cache directory .vs/ +# VSCode +.vscode/ + # Gradle cache directory .gradle/ @@ -75,4 +78,4 @@ crashlytics-build.properties /[Aa]ssets/[Ss]treamingAssets/aa/* # End of https://www.toptal.com/developers/gitignore/api/unity -.vsconfig +.vsconfig \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index e232cd65..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "files.exclude": - { - "**/.DS_Store":true, - "**/.git":true, - "**/.gitmodules":true, - "**/*.booproj":true, - "**/*.pidb":true, - "**/*.suo":true, - "**/*.user":true, - "**/*.userprefs":true, - "**/*.unityproj":true, - "**/*.dll":true, - "**/*.exe":true, - "**/*.pdf":true, - "**/*.mid":true, - "**/*.midi":true, - "**/*.wav":true, - "**/*.gif":true, - "**/*.ico":true, - "**/*.jpg":true, - "**/*.jpeg":true, - "**/*.png":true, - "**/*.psd":true, - "**/*.tga":true, - "**/*.tif":true, - "**/*.tiff":true, - "**/*.3ds":true, - "**/*.3DS":true, - "**/*.fbx":true, - "**/*.FBX":true, - "**/*.lxo":true, - "**/*.LXO":true, - "**/*.ma":true, - "**/*.MA":true, - "**/*.obj":true, - "**/*.OBJ":true, - "**/*.asset":true, - "**/*.cubemap":true, - "**/*.flare":true, - "**/*.mat":true, - "**/*.meta":true, - "**/*.prefab":true, - "**/*.unity":true, - "build/":true, - "Build/":true, - "Library/":true, - "library/":true, - "obj/":true, - "Obj/":true, - "ProjectSettings/":true, - "temp/":true, - "Temp/":true - } -} \ No newline at end of file