From 6193762db265a049496accac1fea4c90afbb2947 Mon Sep 17 00:00:00 2001 From: oluceps Date: Sun, 22 Dec 2024 04:14:09 +0800 Subject: [PATCH] ci: adjust build test seq --- .github/workflows/sync-upstream.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index c635b8e..782259b 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -74,6 +74,12 @@ jobs: git checkout -b sync-target git push -u origin sync-target + - name: Build + run: | + #!/usr/bin/env bash + set -exuo pipefail + nix build .#${{ inputs.project }}-${{ inputs.suffix }} + - name: Create Pull Request uses: actions/github-script@main with: @@ -92,9 +98,3 @@ jobs: env: PROJECT: ${{ inputs.project }} SUFFIX: ${{ inputs.suffix }} - - - name: Build - run: | - #!/usr/bin/env bash - set -exuo pipefail - nix build .#${{ inputs.project }}-${{ inputs.suffix }}