Skip to content

Commit a61dd64

Browse files
ZZy979LukeSavefrogs
authored andcommitted
Exclude macOS runner from test
1 parent 7e753b6 commit a61dd64

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/test-action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os:
2020
- ubuntu-latest
2121
- windows-latest
22-
- macos-latest
22+
# - macos-latest
2323
jython_version:
2424
- "2.7.3"
2525
- "2.7.2"
@@ -69,8 +69,12 @@ jobs:
6969
echo "GITHUB_PATH"
7070
cat $GITHUB_PATH
7171
72-
[ -f ~/.local/bin/jython ] && cat ~/.local/bin/jython
73-
[ -f ~/.local/bin/jython.bat ] && cat ~/.local/bin/jython.bat
72+
if [ -f ~/.local/bin/jython ]; then
73+
cat ~/.local/bin/jython;
74+
fi
75+
if [ -f ~/.local/bin/jython.bat ]; then
76+
cat ~/.local/bin/jython.bat;
77+
fi
7478
7579
- name: Run Jython (Bash)
7680
shell: bash

action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,9 @@ runs:
172172
- name: Add to PATH (Linux and macOS)
173173
if: runner.os != 'Windows'
174174
shell: bash
175-
run: |
176-
echo ~/.local/bin >> $GITHUB_PATH
177-
echo "${{ steps.find_installer.outputs.file_type }}/bin" >> $GITHUB_PATH
175+
run: echo ~/.local/bin >> $GITHUB_PATH
178176
- name: Add to PATH (Windows)
179177
if: runner.os == 'Windows'
180178
shell: pwsh
181179
run: |
182180
"$HOME\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
183-
Convert-Path "${{ inputs.installation-path }}\bin" | Out-File -FilePath $env:GITHUB_PATH -Append

0 commit comments

Comments
 (0)