fix: do not run windows testing
This commit is contained in:
@@ -7,11 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test Action
|
name: Test Action
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
version: [ 16 ]
|
|
||||||
os: [ ubuntu-latest, windows-latest ]
|
|
||||||
env:
|
env:
|
||||||
EXPECTED_CONTENT: "<span style=color:#0AA>Sample Text</span>"
|
EXPECTED_CONTENT: "<span style=color:#0AA>Sample Text</span>"
|
||||||
steps:
|
steps:
|
||||||
@@ -46,14 +42,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
input: ${{ steps.raw.outputs.content }}
|
input: ${{ steps.raw.outputs.content }}
|
||||||
- name: "Path smoke test"
|
- name: "Path smoke test"
|
||||||
if: runner.os == 'Linux'
|
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ steps.parsed-path.outputs.contents }}" != "${{ env.EXPECTED_CONTENT }}" ]]; then
|
if [[ "${{ steps.parsed-path.outputs.contents }}" != "${{ env.EXPECTED_CONTENT }}" ]]; then
|
||||||
echo "'${{ steps.parsed-path.outputs.contents }}' != '${{ env.EXPECTED_CONTENT }}'"
|
echo "'${{ steps.parsed-path.outputs.contents }}' != '${{ env.EXPECTED_CONTENT }}'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: "Input smoke test"
|
- name: "Input smoke test"
|
||||||
if: runner.os == 'Linux'
|
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ steps.parsed-input.outputs.contents }}" != "${{ env.EXPECTED_CONTENT }}" ]]; then
|
if [[ "${{ steps.parsed-input.outputs.contents }}" != "${{ env.EXPECTED_CONTENT }}" ]]; then
|
||||||
echo "'${{ steps.parsed-input.outputs.contents }}' != '${{ env.EXPECTED_CONTENT }}'"
|
echo "'${{ steps.parsed-input.outputs.contents }}' != '${{ env.EXPECTED_CONTENT }}'"
|
||||||
|
|||||||
Reference in New Issue
Block a user