mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 14:31:30 +03:00
Merge pull request #3475 from gitbutlerapp/copy-matrix-because-actions-is-frustratingly-bad
copy over the matrix from the first step into each of the steps
This commit is contained in:
commit
11ed28a5f1
19
.github/workflows/publish.yaml
vendored
19
.github/workflows/publish.yaml
vendored
@ -141,12 +141,15 @@ jobs:
|
||||
sign-tauri:
|
||||
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
|
||||
@ -157,18 +160,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
|
||||
|
Loading…
Reference in New Issue
Block a user