diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68f0303..b49f569 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,8 @@ on: - master jobs: - test: - name: Test + test-unix: + name: Test Unix runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -26,4 +26,46 @@ jobs: - name: Result of checkTag run: test "true" = "${{ steps.checkTag.outputs.exists }}" - name: Result of notExist - run: test "false" = "${{ steps.notExist.outputs.exists }}" \ No newline at end of file + 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 }}"