Update main.js #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test action | |
on: | |
push: | |
branches: | |
- latest | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Create branches | |
run: | | |
git checkout -b prefix-test1-suffix | |
git push -f origin prefix-test1-suffix | |
git checkout -b prefix-test2-suffix | |
git push -f origin prefix-test2-suffix | |
- name: Test action | |
uses: ./ | |
with: | |
branches: test1,test2 | |
prefix: prefix- | |
suffix: -suffix |