Skip to content

Commit

Permalink
chore: 🤖 add an input to receive the commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Jan 26, 2024
1 parent 5098753 commit 0f7b3df
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ on:
- "android"
- "wasm"
- "all"
commitSHA:
description: "Commit SHA (leave blank for default branch)"
required: false

jobs:
build:
runs-on: macos-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- name: Checkout Repository
uses: actions/checkout@v4
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
ref: ${{ github.event.inputs.commitSHA || github.ref }}

- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
Expand Down

0 comments on commit 0f7b3df

Please sign in to comment.