Skip to content

Commit

Permalink
added seperate binary check add manual
Browse files Browse the repository at this point in the history
  • Loading branch information
swazau committed Jun 25, 2024
1 parent 2f6055b commit 75befe2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/check_arm64_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ 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:
- name: Checkout gocryptfs-magisk repository
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
Expand All @@ -34,5 +36,4 @@ jobs:
run: |
./system/bin/gocryptfs --help
echo "Binary execution successful"
# Add more checks as needed
# Add more checks as needed

0 comments on commit 75befe2

Please sign in to comment.