Skip to content

Commit

Permalink
not that DRY, but let's see if it works at least
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Jun 22, 2024
1 parent f086f47 commit de6d4ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ runs:
shell: bash

- name: Compile Arturo (Linux/macOS - native)
if: runner.os != 'Windows' && (inputs.arch == 'native' || inputs.arch == 'amd64') && runner.arch != 'ARM64'
if: inputs.mode != 'web' && runner.os != 'Windows' && (inputs.arch == 'native' || inputs.arch == 'amd64') && runner.arch != 'ARM64'
run: |
cd arturo
./build.nims --install --mode ${{inputs.mode}} --arch amd64 --log
Expand All @@ -177,7 +177,7 @@ runs:
shell: bash

- name: Compile Arturo (macOS - M1)
if: (inputs.arch == 'native' || inputs.arch == 'arm64') && (runner.os == 'macOS' && runner.arch == 'ARM64')
if: inputs.mode != 'web' && (inputs.arch == 'native' || inputs.arch == 'arm64') && (runner.os == 'macOS' && runner.arch == 'ARM64')
run: |
cd arturo
./build.nims --install --mode ${{inputs.mode}} --arch arm64 --log
Expand All @@ -186,7 +186,7 @@ runs:
shell: bash

- name: Compile Arturo (Linux)
if: inputs.arch != 'native' && inputs.arch != 'amd64' && runner.os == 'Linux'
if: inputs.mode != 'web' && inputs.arch != 'native' && inputs.arch != 'amd64' && runner.os == 'Linux'
run: |
cd arturo
./build.nims --install --mode ${{inputs.mode}} --arch ${{inputs.arch}} --log
Expand Down

0 comments on commit de6d4ea

Please sign in to comment.