Skip to content

Commit

Permalink
fix os match
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 committed May 8, 2024
1 parent afe183f commit 4c8f397
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/action_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ runs:
PLUGINS_TEST_CLI_PATH: ${{ env.CLI_PATH }}

- name: Upload results
# TODO(Tyler): Add upload on Windows once the action supports it.
if: "!cancelled() && runner.os != 'Windows'"
# TODO(Tyler): Add upload on MacOS/Windows once the action supports it.
if: "!cancelled() && runner.os == 'Linux'"
uses: trunk-io/analytics-uploader@main
with:
junit-paths: junit.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/linter_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ runs:
"{title} ${{ runner.os }} ${{ inputs.ref-type }} ${{ inputs.linter-version }}"

- name: Upload results
# TODO(Tyler): Add upload on Windows once the action supports it.
if: "!cancelled() && runner.os != 'Windows'"
# TODO(Tyler): Add upload on MacOS/Windows once the action supports it.
if: "!cancelled() && runner.os == 'Linux'"
uses: trunk-io/analytics-uploader@main
with:
junit-paths: junit.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/tool_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ runs:
JEST_JUNIT_SUITE_NAME: "{title} ${{ runner.os }} ${{ inputs.ref-type }}"

- name: Upload results
# TODO(Tyler): Add upload on Windows once the action supports it.
if: "!cancelled() && runner.os != 'Windows'"
# TODO(Tyler): Add upload on MacOS/Windows once the action supports it.
if: "!cancelled() && runner.os == 'Linux'"
uses: trunk-io/analytics-uploader@main
with:
junit-paths: junit.xml
Expand Down

0 comments on commit 4c8f397

Please sign in to comment.