Skip to content

Commit aa0344a

Browse files
committed
Update CI to run action against current branch
1 parent 841d92b commit aa0344a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test-action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: swift-android-action ci
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- '*'
67
jobs:
78
demo:
89
runs-on: ${{ matrix.os }}
@@ -17,7 +18,7 @@ jobs:
1718
repository: apple/swift-algorithms
1819
path: apple/swift-algorithms
1920
- name: Test apple/swift-algorithms
20-
uses: skiptools/swift-android-action@v2
21+
uses: skiptools/swift-android-action@${{ github.event.inputs.branch }}
2122
with:
2223
package-path: apple/swift-algorithms
2324
run-tests: ${{ matrix.os != 'macos-15' }} # no tests on macOS ARM
@@ -28,7 +29,7 @@ jobs:
2829
repository: skiptools/swift-sqlite
2930
path: skiptools/swift-sqlite
3031
- name: Test skiptools/swift-sqlite
31-
uses: skiptools/swift-android-action@v2
32+
uses: skiptools/swift-android-action@${{ github.event.inputs.branch }}
3233
with:
3334
package-path: skiptools/swift-sqlite
3435
run-tests: ${{ matrix.os != 'macos-15' }} # no tests on macOS ARM

0 commit comments

Comments
 (0)