Skip to content

Commit

Permalink
Use head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaklin committed Sep 18, 2024
1 parent 0e9adb3 commit c5132f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:

- name: Download build script
id: dl-build-script
run: wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/.github/deploy/build_x86_64-apple-darwin.sh
run: wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.head_ref }}/.github/deploy/build_x86_64-apple-darwin.sh

- name: Compile in macOS Cross Compiler container
id: compile-in-container
run: chmod +x build_x86_64-apple-darwin.sh && ./build_x86_64-apple-darwin.sh ${{ github.ref_name }} arm64
run: chmod +x build_x86_64-apple-darwin.sh && ./build_x86_64-apple-darwin.sh ${{ github.head_ref }} arm64

- name: Upload x86_64-apple-darwin
if: success()
Expand Down Expand Up @@ -77,11 +77,11 @@ jobs:

- name: Download build script
id: dl-build-script
run: wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/.github/deploy/build_aarch64-apple-darwin.sh
run: wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.head_ref }}/.github/deploy/build_aarch64-apple-darwin.sh

- name: Compile in macOS Cross Compiler container
id: compile-in-container
run: chmod +x build_aarch64-apple-darwin.sh && ./build_aarch64-apple-darwin.sh ${{ github.ref_name }}
run: chmod +x build_aarch64-apple-darwin.sh && ./build_aarch64-apple-darwin.sh ${{ github.head_ref }}

- name: Upload aarch64-apple-darwin
if: success()
Expand Down

0 comments on commit c5132f0

Please sign in to comment.