From 75befe25ea0497b6ce957f5feeb77842bd5413ea Mon Sep 17 00:00:00 2001 From: dandocmando Date: Tue, 25 Jun 2024 13:58:11 +1000 Subject: [PATCH] added seperate binary check add manual --- .github/workflows/check_arm64_binary.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check_arm64_binary.yml b/.github/workflows/check_arm64_binary.yml index 43f812b..9f4e85c 100644 --- a/.github/workflows/check_arm64_binary.yml +++ b/.github/workflows/check_arm64_binary.yml @@ -5,9 +5,11 @@ on: branches: [ workflows ] pull_request: branches: [ main ] + workflow_dispatch: # This allows manual triggering + jobs: check_binary: - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' runs-on: buildjet-4vcpu-ubuntu-2204-arm steps: @@ -15,7 +17,7 @@ jobs: uses: actions/checkout@v3 with: repository: swazau/gocryptfs-magisk - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set execute permission run: chmod +x ./system/bin/gocryptfs @@ -34,5 +36,4 @@ jobs: run: | ./system/bin/gocryptfs --help echo "Binary execution successful" - - # Add more checks as needed + # Add more checks as needed \ No newline at end of file