From a11a37e710fd61f9ae2ce46e4e5efbd68dbb7e14 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 2 Nov 2023 12:14:51 +0100 Subject: [PATCH] Checkout repo files as first step (#577) Checkout the files from this repo first in order to have the bash script ready that is needed to block launcher files download. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6d3013..f4b18ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,15 @@ jobs: build-northstar: runs-on: ubuntu-20.04 steps: + - name: Checkout release files + uses: actions/checkout@v3 + with: + ref: ${{ env.NORTHSTAR_VERSION }} + path: northstar - name: Wait for launcher release build to be ready timeout-minutes: 30 # Only wait for 30 minutes. If we take longer, something probably broke run: - bash wait_for_launcher_dl.sh + bash northstar/wait_for_launcher_dl.sh - name: Download compiled launcher run: wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip" @@ -33,11 +38,6 @@ jobs: - name: Download compiled stubs run: wget "https://github.com/R2Northstar/NorthstarStubs/releases/download/v1/NorthstarStubs.zip" - - name: Checkout release files - uses: actions/checkout@v3 - with: - ref: ${{ env.NORTHSTAR_VERSION }} - path: northstar - name: Checkout core mods uses: actions/checkout@v3 with: