Fix v1.3.0 for Windows #26
Workflow file for this run
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test-unix: | |
name: Test Unix | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'tag-exists-action: true' | |
id: checkTag | |
uses: ./ | |
with: | |
tag: 'v1.0.0' | |
- name: 'tag-exists-action: false' | |
id: notExist | |
uses: ./ | |
with: | |
tag: 'not-exist-tag-for-testing' | |
- name: Result of checkTag | |
run: test "true" = "${{ steps.checkTag.outputs.exists }}" | |
- name: Result of notExist | |
run: test "false" = "${{ steps.notExist.outputs.exists }}" | |
test-windows: | |
name: Test Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'tag-exists-action: true' | |
id: checkTag | |
uses: ./ | |
with: | |
tag: 'v1.0.0' | |
- name: 'tag-exists-action: false' | |
id: notExist | |
uses: ./ | |
with: | |
tag: 'not-exist-tag-for-testing' | |
- name: Result of checkTag | |
run: test "true" = "${{ steps.checkTag.outputs.exists }}" | |
- name: Result of notExist | |
run: test "false" = "${{ steps.notExist.outputs.exists }}" | |
test-macos: | |
name: Test MacOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'tag-exists-action: true' | |
id: checkTag | |
uses: ./ | |
with: | |
tag: 'v1.0.0' | |
- name: 'tag-exists-action: false' | |
id: notExist | |
uses: ./ | |
with: | |
tag: 'not-exist-tag-for-testing' | |
- name: Result of checkTag | |
run: test "true" = "${{ steps.checkTag.outputs.exists }}" | |
- name: Result of notExist | |
run: test "false" = "${{ steps.notExist.outputs.exists }}" |