diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95201aed..3ad418f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ on: jobs: debug-inputs: name: Debug inputs - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - name: Debug run: | @@ -66,7 +66,7 @@ jobs: buildid: name: Generate build ID - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 outputs: buildids: ${{ steps.get.outputs.bid }} steps: @@ -77,7 +77,7 @@ jobs: echo "bid=${bdat}" >> $GITHUB_OUTPUT start-self-host: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: debug-inputs steps: - name: Download aws-cli @@ -102,7 +102,7 @@ jobs: rm start.sh || true check-build-is-correct: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: [debug-inputs] steps: - name: Checkout repository @@ -135,7 +135,7 @@ jobs: permissions: contents: write name: Generate build data - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: check-build-is-correct outputs: build_date: ${{ steps.data.outputs.builddate }} @@ -149,7 +149,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' @@ -199,7 +199,7 @@ jobs: name: Lint check-release: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: [build-data, lint] steps: - name: Checkout repository @@ -209,7 +209,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' @@ -240,7 +240,7 @@ jobs: source: permissions: contents: write - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: [build-data, check-release] steps: @@ -251,7 +251,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' @@ -368,7 +368,7 @@ jobs: name: AppImage build - Linux ${{ matrix.arch }} permissions: contents: write - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 strategy: matrix: arch: [x86_64, aarch64] @@ -381,7 +381,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' @@ -446,7 +446,7 @@ jobs: path: ./dist/zen-${{ matrix.arch }}.AppImage.zsync stop-self-hosted: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: [windows-step-3, linux] if: always() steps: @@ -487,7 +487,7 @@ jobs: lint, stop-self-hosted, ] - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 environment: name: ${{ inputs.update_branch == 'release' && 'Deploy-Release' || 'Deploy-Twilight' }} @@ -614,7 +614,7 @@ jobs: permissions: write-all name: Prepare Flatpak needs: [release, linux, build-data] - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - name: Checkout Flatpak repository @@ -673,7 +673,7 @@ jobs: permissions: write-all name: Release Flatpak needs: [prepare-flatpak, build-data] - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - name: Checkout Flatpak repository diff --git a/.github/workflows/linux-release-build.yml b/.github/workflows/linux-release-build.yml index 651faba4..099f8e2a 100644 --- a/.github/workflows/linux-release-build.yml +++ b/.github/workflows/linux-release-build.yml @@ -26,7 +26,7 @@ jobs: permissions: contents: write # aarch64 does not need full 16x - runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'self-hosted' || 'ubuntu-latest' }} + runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'self-hosted' || 'blacksmith-8vcpu-ubuntu-2404' }} strategy: fail-fast: false matrix: @@ -55,7 +55,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' diff --git a/.github/workflows/windows-release-build.yml b/.github/workflows/windows-release-build.yml index fbc84a12..843fbdd6 100644 --- a/.github/workflows/windows-release-build.yml +++ b/.github/workflows/windows-release-build.yml @@ -35,7 +35,7 @@ jobs: windows-build: name: Build Windows - ${{ matrix.arch }} # aarch64 does not need full 16x, and we also dont use full LTO when generating GPO - runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'self-hosted' || 'ubuntu-latest' }} + runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'self-hosted' || 'blacksmith-8vcpu-ubuntu-2404' }} env: SCCACHE_GHA_ENABLED: ${{ inputs.use-sccache && 'true' || 'false' }} CARGO_TERM_COLOR: always @@ -64,7 +64,7 @@ jobs: token: ${{ secrets.DEPLOY_KEY }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: useblacksmith/setup-node@v5 with: node-version-file: '.nvmrc' @@ -103,7 +103,7 @@ jobs: env: SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5 id: cache-win-cross - uses: actions/cache@v4 + uses: useblacksmith/cache@v5 with: path: ${HOME}/win-cross key: win-cross