Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
The checkout code step has been moved further down in the job sequenc…
Browse files Browse the repository at this point in the history
…e and now checks out from a different repository.
  • Loading branch information
fire committed Jun 24, 2024
1 parent 6c57ccf commit e31c8d4
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ env:
EM_VERSION: 3.1.18
EM_CACHE_FOLDER: "emsdk-cache"

concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-deploy
cancel-in-progress: true

jobs:
godot-build:
runs-on: ${{ matrix.runs-on }}
Expand Down Expand Up @@ -143,12 +139,6 @@ jobs:
with:
egress-policy: audit

- name: Checkout code
uses: actions/checkout@v2
with:
repository: V-Sekai/v-sekai-game
ref: ${{ env.VSK_GAME_BRANCH }}

- name: Linux dependencies for gold linker
if: ${{ matrix.platform == 'linux' }}
run: |
Expand Down Expand Up @@ -204,6 +194,12 @@ jobs:
- name: Setup GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master

- name: Checkout code
uses: actions/checkout@v2
with:
repository: V-Sekai/godot
ref: ${{ env.GODOT_REF }}

- name: Compilation
uses: ./.github/actions/godot-build
with:
Expand Down Expand Up @@ -258,12 +254,19 @@ jobs:
- name: Generate build constants
uses: ./.github/actions/vsk-generate-constants

- name: Checkout code
uses: actions/checkout@v2
with:
repository: V-Sekai/godot
ref: ${{ env.GODOT_REF }}
path: game

- name: Export Game
if: ${{ matrix.deploy }}
run: |
mkdir -p .godot/editor .godot/imported export_${{ matrix.deploy-platform }}
chmod +x ${{ matrix.bin }}
${{ matrix.bin }} --headless --xr-mode off --export-pack ${{ matrix.export-platform }} `pwd`/${{ env.GAME_NAME }}${{ matrix.deploy-platform }}.pck --path . || true
${{ matrix.bin }} --headless --xr-mode off --export-pack ${{ matrix.export-platform }} `pwd`/${{ env.GAME_NAME }}${{ matrix.deploy-platform }}.pck --path game || true
timeout-minutes: 20
shell: bash

Expand Down

0 comments on commit e31c8d4

Please sign in to comment.