Skip to content

Commit

Permalink
copy over the matrix from the first step into each of the steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Apr 9, 2024
1 parent 462d8c9 commit 9262cf9
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,15 @@ jobs:
needs: build-tauri
runs-on: [self-hosted, evcodesignd]
if: ${{ needs.build-tauri.outputs.channel == 'release' }} && ${{ needs.build-tauri.outputs.platform == 'windows-latest' }}
strategy:
matrix:
platform:
- windows-latest # [windows, x64]
steps:
- name: Download unsigned artifacts
uses: actions/download-artifact@v4
with:
name: "${{ needs.build-tauri.outputs.channel }}-${{ needs.build-tauri.outputs.platform }}"
name: "${{ needs.build-tauri.outputs.channel }}-${{ matrix.platform }}"
path: release
- name: Sign Windows binary
shell: bash
Expand All @@ -157,18 +161,26 @@ jobs:
- name: Upload signed artifacts
uses: actions/upload-artifact@v4
with:
name: "${{ needs.build-tauri.outputs.channel }}-${{ needs.build-tauri.outputs.platform }}"
name: "${{ needs.build-tauri.outputs.channel }}-${{ matrix.platform }}"
path: release/
if-no-files-found: error
overwrite: true

# publish-tauri:
# strategy:
# fail-fast: false
# matrix:
# platform:
# - macos-latest # [macOs, x64]
# - macos-latest-xlarge # [macOs, ARM64]
# - ubuntu-20.04 # [linux, x64]
# - windows-latest # [windows, x64]
# needs: [sign-tauri, build-tauri]
# steps:
# - name: Download artifacts
# uses: actions/download-artifact@v4
# with:
# name: "${{ needs.build-tauri.outputs.channel }}-${{ needs.build-tauri.outputs.platform }}"
# name: "${{ needs.build-tauri.outputs.channel }}-${{ matrix.platform }}"
# path: release
# - uses: shallwefootball/s3-upload-action@master
# name: Upload To S3
Expand Down

0 comments on commit 9262cf9

Please sign in to comment.