mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
fix gha (#501)
* fix gha --------- Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
7a64d6c12a
commit
46c6f2de6f
1 changed files with 2 additions and 13 deletions
15
.github/workflows/build-sign-notarize.yml
vendored
15
.github/workflows/build-sign-notarize.yml
vendored
|
@ -23,19 +23,8 @@ on:
|
||||||
description: 'The S3 build key includes the installer files: [zip, dmg, etc, yml] from notarization strategy done outside of electron'
|
description: 'The S3 build key includes the installer files: [zip, dmg, etc, yml] from notarization strategy done outside of electron'
|
||||||
value: ${{ jobs.notarize-mac-installers.outputs.s3-installers-key }}
|
value: ${{ jobs.notarize-mac-installers.outputs.s3-installers-key }}
|
||||||
jobs:
|
jobs:
|
||||||
get-platform:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
outputs:
|
|
||||||
os: ${{ steps.platform.outputs.os }}
|
|
||||||
cache-set: ${{ steps.platform.outputs.cache-set }}
|
|
||||||
steps:
|
|
||||||
- uses: teaxyz/brewkit/actions/get-platform@main
|
|
||||||
id: platform
|
|
||||||
with:
|
|
||||||
platform: ${{ inputs.platform }}
|
|
||||||
build:
|
build:
|
||||||
needs: [get-platform]
|
runs-on: macos-latest
|
||||||
runs-on: ${{ fromJson(needs.get-platform.outputs.os) }}
|
|
||||||
outputs:
|
outputs:
|
||||||
s3-artifacts-key: ${{ steps.s3-artifact-uploader.outputs.key }}
|
s3-artifacts-key: ${{ steps.s3-artifact-uploader.outputs.key }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -148,7 +137,7 @@ jobs:
|
||||||
notarize-mac-installers:
|
notarize-mac-installers:
|
||||||
if: inputs.s3-prefix != 'release'
|
if: inputs.s3-prefix != 'release'
|
||||||
# TODO: run only for mac, create separate Job for linux
|
# TODO: run only for mac, create separate Job for linux
|
||||||
needs: [get-platform, build]
|
needs: [build]
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
outputs:
|
outputs:
|
||||||
s3-installers-key: ${{ steps.s3-installers-upload.outputs.s3-key }}
|
s3-installers-key: ${{ steps.s3-installers-upload.outputs.s3-key }}
|
||||||
|
|
Loading…
Reference in a new issue