From 6d839a7338ae02c1df98b2a1e75f2de0538b8f79 Mon Sep 17 00:00:00 2001 From: Psycast Date: Thu, 26 Jun 2025 17:41:52 -0230 Subject: [PATCH 1/4] Update manual.yml --- .github/workflows/manual.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 86e90485..7b5d6571 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2019] + os: [windows-latest] steps: ########################################################################################## @@ -32,11 +32,11 @@ jobs: lfs: true - name: Extract Air SDK [32.0] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' run: 7z.exe x -tzip ${{ github.workspace }}\tools\SDK-Lite.zip -o${{ github.workspace }}\airsdk - name: Extract Runtimes - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' run: 7z.exe x -tzip ${{ github.workspace }}\tools\Runtimes.zip -o${{ github.workspace }}\bundles - name: Install Dependencies (asconfigc) @@ -77,17 +77,17 @@ jobs: ########################################################################################## # Build SWFs - name: Build Embedded Fonts Library [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose - name: Build the Game (Normal) [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --verbose - name: Build the Game (Hybrid) [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.hybrid.json --verbose From 17df8eef3e23c190f99cc3483fc8114cb80b97bf Mon Sep 17 00:00:00 2001 From: Psycast Date: Thu, 26 Jun 2025 17:42:59 -0230 Subject: [PATCH 2/4] Update to windows-latest --- .github/workflows/check.yml | 146 +++++++++++++++++----------------- .github/workflows/release.yml | 12 +-- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index aec88893..a560af42 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,85 +1,85 @@ name: Check on: - push: - branches: - - main - - feat/workflow - pull_request: - branches: - - main - + push: + branches: + - main + - feat/workflow + pull_request: + branches: + - main + jobs: - skip: - runs-on: ubuntu-latest - if: | - !contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), 'skip ci') - steps: - - run: | - cat <<'MESSAGE' - github.event_name: ${{ toJson(github.event_name) }} - github.event: - ${{ toJson(github.event) }} - MESSAGE - build: - needs: skip - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest] + skip: + runs-on: ubuntu-latest + if: | + !contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), 'skip ci') + steps: + - run: | + cat <<'MESSAGE' + github.event_name: ${{ toJson(github.event_name) }} + github.event: + ${{ toJson(github.event) }} + MESSAGE + build: + needs: skip + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest] - steps: - - name: Checkout - uses: actions/checkout@v4.2.2 - with: - lfs: true + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + with: + lfs: true - - name: Cache Air SDK - id: cache-air-sdk - uses: actions/cache@v4 - with: - path: ${{ github.workspace }}\airsdk - key: ${{ runner.os }}-air-sdk + - name: Cache Air SDK + id: cache-air-sdk + uses: actions/cache@v4 + with: + path: ${{ github.workspace }}\airsdk + key: ${{ runner.os }}-air-sdk - - name: Download Air Windows - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - run: | - $ProgressPreference = 'SilentlyContinue'; - (irm -Uri "http://airdownload.adobe.com/air/win/download/32.0/AIRSDK_Compiler.zip" -ContentType "application/octet-stream" -OutFile "air-sdk.zip") + - name: Download Air Windows + if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' + run: | + $ProgressPreference = 'SilentlyContinue'; + (irm -Uri "http://airdownload.adobe.com/air/win/download/32.0/AIRSDK_Compiler.zip" -ContentType "application/octet-stream" -OutFile "air-sdk.zip") - - name: extract-7z-action - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - uses: DuckSoft/extract-7z-action@v1.0 - with: - # archive path to extract - pathSource: air-sdk.zip - # path to place the extract - pathTarget: ${{ github.workspace }}\airsdk + - name: extract-7z-action + if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' + uses: DuckSoft/extract-7z-action@v1.0 + with: + # archive path to extract + pathSource: air-sdk.zip + # path to place the extract + pathTarget: ${{ github.workspace }}\airsdk - - name: Fix Air SDK Target - uses: cschleiden/replace-tokens@v1 - with: - files: '["./airsdk/frameworks/flex-config.xml"]' - tokenPrefix: '{' - tokenSuffix: '}' - env: - targetPlayerMinorVersion: 0 - targetPlayerMajorVersion: 32 + - name: Fix Air SDK Target + uses: cschleiden/replace-tokens@v1 + with: + files: '["./airsdk/frameworks/flex-config.xml"]' + tokenPrefix: '{' + tokenSuffix: '}' + env: + targetPlayerMinorVersion: 0 + targetPlayerMajorVersion: 32 - - name: Install Dependencies - run: npm install asconfigc + - name: Install Dependencies + run: npm install asconfigc - - name: Build Embedded Fonts Library (Windows) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose + - name: Build Embedded Fonts Library (Windows) + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose - - name: Build the Game (Windows Debug) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose - - - name: Build the Game (Windows Release) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose + - name: Build the Game (Windows Debug) + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose + + - name: Build the Game (Windows Release) + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 845e794f..4e73974f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2019] + os: [windows-latest] steps: ########################################################################################## @@ -48,11 +48,11 @@ jobs: lfs: true - name: Extract Air SDK [32.0] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' run: 7z.exe x -tzip ${{ github.workspace }}\tools\SDK-Lite.zip -o${{ github.workspace }}\airsdk - name: Extract Runtimes - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' run: 7z.exe x -tzip ${{ github.workspace }}\tools\Runtimes.zip -o${{ github.workspace }}\bundles - name: Install Dependencies (asconfigc) @@ -99,17 +99,17 @@ jobs: ########################################################################################## # Build SWFs - name: Build Embedded Fonts Library [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose - name: Build the Game (Normal) [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --verbose - name: Build the Game (Hybrid) [Windows] - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.hybrid.json --verbose From 37e24b21410125e8a361eb03f228e84c62612344 Mon Sep 17 00:00:00 2001 From: Psycast Date: Thu, 26 Jun 2025 17:47:14 -0230 Subject: [PATCH 3/4] Update check.yml --- .github/workflows/check.yml | 88 ++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a560af42..dd9a2fdd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,7 +8,7 @@ on: pull_request: branches: - main - + jobs: skip: runs-on: ubuntu-latest @@ -16,11 +16,11 @@ jobs: !contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), 'skip ci') steps: - run: | - cat <<'MESSAGE' - github.event_name: ${{ toJson(github.event_name) }} - github.event: - ${{ toJson(github.event) }} - MESSAGE + cat <<'MESSAGE' + github.event_name: ${{ toJson(github.event_name) }} + github.event: + ${{ toJson(github.event) }} + MESSAGE build: needs: skip runs-on: ${{ matrix.os }} @@ -30,56 +30,56 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4.2.2 - with: - lfs: true + uses: actions/checkout@v4.2.2 + with: + lfs: true - name: Cache Air SDK - id: cache-air-sdk - uses: actions/cache@v4 - with: - path: ${{ github.workspace }}\airsdk - key: ${{ runner.os }}-air-sdk + id: cache-air-sdk + uses: actions/cache@v4 + with: + path: ${{ github.workspace }}\airsdk + key: ${{ runner.os }}-air-sdk - name: Download Air Windows - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - run: | - $ProgressPreference = 'SilentlyContinue'; - (irm -Uri "http://airdownload.adobe.com/air/win/download/32.0/AIRSDK_Compiler.zip" -ContentType "application/octet-stream" -OutFile "air-sdk.zip") + if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' + run: | + $ProgressPreference = 'SilentlyContinue'; + (irm -Uri "http://airdownload.adobe.com/air/win/download/32.0/AIRSDK_Compiler.zip" -ContentType "application/octet-stream" -OutFile "air-sdk.zip") - name: extract-7z-action - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - uses: DuckSoft/extract-7z-action@v1.0 - with: - # archive path to extract - pathSource: air-sdk.zip - # path to place the extract - pathTarget: ${{ github.workspace }}\airsdk + if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' + uses: DuckSoft/extract-7z-action@v1.0 + with: + # archive path to extract + pathSource: air-sdk.zip + # path to place the extract + pathTarget: ${{ github.workspace }}\airsdk - name: Fix Air SDK Target - uses: cschleiden/replace-tokens@v1 - with: - files: '["./airsdk/frameworks/flex-config.xml"]' - tokenPrefix: '{' - tokenSuffix: '}' - env: - targetPlayerMinorVersion: 0 - targetPlayerMajorVersion: 32 + uses: cschleiden/replace-tokens@v1 + with: + files: '["./airsdk/frameworks/flex-config.xml"]' + tokenPrefix: "{" + tokenSuffix: "}" + env: + targetPlayerMinorVersion: 0 + targetPlayerMajorVersion: 32 - name: Install Dependencies - run: npm install asconfigc + run: npm install asconfigc - name: Build Embedded Fonts Library (Windows) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose - name: Build the Game (Windows Debug) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose - + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose + - name: Build the Game (Windows Release) - if: matrix.os == 'windows-latest' - shell: cmd - run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose + if: matrix.os == 'windows-latest' + shell: cmd + run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose From e6708e96e658785a96daec3774e80e9108c439f9 Mon Sep 17 00:00:00 2001 From: Psycast Date: Thu, 26 Jun 2025 17:56:29 -0230 Subject: [PATCH 4/4] Update check.yml --- .github/workflows/check.yml | 51 +++++++++++++------------------------ 1 file changed, 18 insertions(+), 33 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index dd9a2fdd..a1565f97 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,57 +29,42 @@ jobs: os: [windows-latest] steps: + ########################################################################################## + # Checkout - name: Checkout uses: actions/checkout@v4.2.2 with: lfs: true - - name: Cache Air SDK - id: cache-air-sdk - uses: actions/cache@v4 - with: - path: ${{ github.workspace }}\airsdk - key: ${{ runner.os }}-air-sdk - - - name: Download Air Windows - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - run: | - $ProgressPreference = 'SilentlyContinue'; - (irm -Uri "http://airdownload.adobe.com/air/win/download/32.0/AIRSDK_Compiler.zip" -ContentType "application/octet-stream" -OutFile "air-sdk.zip") - - - name: extract-7z-action - if: matrix.os == 'windows-latest' && steps.cache-air-sdk.outputs.cache-hit != 'true' - uses: DuckSoft/extract-7z-action@v1.0 + ########################################################################################## + # Setup SDK + - name: Checkout Build Tools + uses: actions/checkout@v4.2.2 with: - # archive path to extract - pathSource: air-sdk.zip - # path to place the extract - pathTarget: ${{ github.workspace }}\airsdk + repository: flashflashrevolution/rCubed-build-tools + path: "tools" + lfs: true - - name: Fix Air SDK Target - uses: cschleiden/replace-tokens@v1 - with: - files: '["./airsdk/frameworks/flex-config.xml"]' - tokenPrefix: "{" - tokenSuffix: "}" - env: - targetPlayerMinorVersion: 0 - targetPlayerMajorVersion: 32 + - name: Extract Air SDK [32.0] + if: matrix.os == 'windows-latest' + run: 7z.exe x -tzip ${{ github.workspace }}\tools\SDK-Lite.zip -o${{ github.workspace }}\airsdk - - name: Install Dependencies + - name: Install Dependencies (asconfigc) run: npm install asconfigc - - name: Build Embedded Fonts Library (Windows) + ########################################################################################## + # Build SWFs + - name: Build Embedded Fonts Library [Windows] if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project ${{ github.workspace }}/fonts/asconfig.embed-fonts.json --verbose - - name: Build the Game (Windows Debug) + - name: Build the Game [Windows Debug] if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.json --debug=true --verbose - - name: Build the Game (Windows Release) + - name: Build the Game [Windows Release] if: matrix.os == 'windows-latest' shell: cmd run: ${{ github.workspace }}\node_modules\.bin\asconfigc.cmd --sdk ${{ github.workspace }}\airsdk --project asconfig.release.json --debug=false --verbose