Skip to content

Commit 2a485fc

Browse files
committed
Test refactor OS matrix
1 parent 7954af5 commit 2a485fc

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,25 @@ jobs:
1212
matrix:
1313
# ubuntu-latest = ubuntu-20.04
1414
# platform: [macos-latest, ubuntu-latest, windows-latest]
15-
platform: [macos-latest]
16-
runs-on: ${{ matrix.platform }}
15+
# platform: [macos-latest]
16+
include:
17+
- os: macos-latest
18+
name: macos
19+
# - os: ubuntu-latest
20+
# name: linux
21+
# - os: windows-latest
22+
# name: windows
23+
# runs-on: ${{ matrix.platform }}
24+
runs-on: ${{ matrix.os }}
1725
env:
1826
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
1927
steps:
2028
- name: Checkout repository
2129
uses: actions/checkout@v3
2230

2331
- name: Install dependencies (ubuntu only)
24-
if: matrix.platform == 'ubuntu-latest'
32+
# if: matrix.platform == 'ubuntu-latest'
33+
if: matrix.os == 'ubuntu-latest'
2534
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
2635
run: |
2736
sudo apt-get update
@@ -149,11 +158,11 @@ jobs:
149158
asset_content_type: application/octet-stream
150159

151160
- name: Hash
152-
run: cat ./src-tauri/target/release/upload/seismic-${{steps.version.outputs.prop}}-${{matrix.NAME}}-x64.sig
161+
run: cat ./src-tauri/target/release/upload/seismic-${{steps.version.outputs.prop}}-${{matrix.name}}-x64.sig
153162
shell: bash
154163

155164
- name: Upload artifacts
156165
uses: actions/upload-artifact@v2
157166
with:
158-
name: seismic-${{matrix.NAME}}-x64-installer-portable
167+
name: seismic-${{matrix.name}}-x64-installer-portable
159168
path: src-tauri/target/release

0 commit comments

Comments
 (0)