From 020bf31dbd02c97c0259c87ad8eb3764e8ac0461 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 28 Apr 2024 10:22:31 +1000 Subject: [PATCH] Switch to v4 for upload-artifact --- .github/actions/notify_success/action.yml | 2 +- .github/actions/upload_build/action.yml | 2 +- .github/workflows/build_freebsd.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/notify_success/action.yml b/.github/actions/notify_success/action.yml index 617881b8a..9b50d87bf 100644 --- a/.github/actions/notify_success/action.yml +++ b/.github/actions/notify_success/action.yml @@ -16,4 +16,4 @@ runs: if: ${{ inputs.DESTINATION_URL != '' }} shell: sh run: | - curl ${{ inputs.DESTINATION_URL }}/${{ inputs.WORKFLOW_NAME }} -X POST --data "finished" \ No newline at end of file + curl ${{ inputs.DESTINATION_URL }}/${{ inputs.WORKFLOW_NAME }}/${{ github.sha }} \ No newline at end of file diff --git a/.github/actions/upload_build/action.yml b/.github/actions/upload_build/action.yml index 36fc2fcbe..84f896586 100644 --- a/.github/actions/upload_build/action.yml +++ b/.github/actions/upload_build/action.yml @@ -13,7 +13,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ inputs.DEST_NAME }} path: ${{ inputs.SOURCE_FILE }} \ No newline at end of file diff --git a/.github/workflows/build_freebsd.yml b/.github/workflows/build_freebsd.yml index ca8fb748e..059587f7c 100644 --- a/.github/workflows/build_freebsd.yml +++ b/.github/workflows/build_freebsd.yml @@ -35,8 +35,8 @@ jobs: PLAT32_FLAGS: "-fno-pie -fvisibility=hidden -fcf-protection=none -rdynamic -DCC_BUILD_ICON -I freebsd32/include -L freebsd32/lib" PLAT64_FLAGS: "-fno-pie -fvisibility=hidden -fcf-protection=none -rdynamic -DCC_BUILD_ICON -I freebsd64/include -L freebsd64/lib" run: | + apk add curl LATEST_FLAG=-DCC_COMMIT_SHA=\"${GITHUB_SHA::9}\" - echo $LATEST_FLAG cd src i386-freebsd11-clang *.c ${{ env.COMMON_FLAGS }} ${{ env.PLAT32_FLAGS }} $LATEST_FLAG -o cc-fbsd32-gl1 -lm -lpthread -lX11 -lXi -lGL -lexecinfo