Merge pull request #57 from chenrui333/fix-workflow-to-match-with-default-branch

[skip ci]
This commit is contained in:
Tim Heuer 2023-11-09 08:33:35 -08:00 committed by GitHub
commit 604a8926a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,13 +3,13 @@ name: "Action Test"
on: on:
push: push:
branches: branches:
- master - main
workflow_dispatch: workflow_dispatch:
branches: branches:
- master - main
jobs: jobs:
# test action works running from the graph # test action works running from the graph
test: test:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
@ -31,7 +31,7 @@ jobs:
uses: ./ uses: ./
with: with:
fileName: 'myTemporaryFile.json' fileName: 'myTemporaryFile.json'
encodedString: ${{ secrets.ENCODED_JSON }} encodedString: ${{ secrets.ENCODED_JSON }}
- name: Echo file - name: Echo file
run: | run: |