From f80e2a884925dac2acf1f60cf0dae2a7e68b0782 Mon Sep 17 00:00:00 2001 From: flower <97859147+flowerible@users.noreply.github.com> Date: Sat, 3 Jun 2023 16:06:40 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba8f9f1..c9f28d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: forceUpload: true dryRun: false localDir: 'ready/' - remoteDir: '/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch }}/${{ github.run_number }}' + remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref_name }}/${{ github.run_number }}" build-darwin: strategy: @@ -344,7 +344,7 @@ jobs: forceUpload: true dryRun: false localDir: 'ready/' - remoteDir: '/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch }}/${{ github.run_number }}' + remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref }}/${{ github.run_number }}" - name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} build if: ${{ github.event_name != 'pull_request' }} @@ -494,7 +494,7 @@ jobs: forceUpload: true dryRun: false localDir: 'ready/' - remoteDir: '/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch }}/${{ github.run_number }}' + remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref }}/${{ github.run_number }}" build-Linux: strategy: @@ -807,7 +807,7 @@ jobs: forceUpload: true dryRun: false localDir: 'ready/' - remoteDir: '/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch }}/${{ github.run_number }}' + remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref }}/${{ github.run_number }}" finish-build: runs-on: ubuntu-latest