Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions make-pear-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ GitHub Action to build Pear apps on Linux, macOS, and Windows, with code signing

| Input | Description | Required |
| --------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| `macos_app` | macOS app bundle tarball to upload | No |
| `macos_dmg` | macOS DMG to upload | No |
| `macos_dmg_artifact_name` | macOS DMG uploaded artifact name | No |
| `macos_certificate_base64` | Base64 Apple development certificate (P12) | Required on macOS |
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: holepunchto/make-pear-app
- uses: holepunchto/actions/make-pear-app@v1
with:
channel: production
upgrade_key: pear://jj7jywoj83pswtcf5asywbm4ngro3xikgg1zcaqq3kdyhghats6o
Expand All @@ -84,10 +85,11 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: holepunchto/make-pear-app
- uses: holepunchto/actions/make-pear-app@v1
with:
channel: production
upgrade_key: pear://jj7jywoj83pswtcf5asywbm4ngro3xikgg1zcaqq3kdyhghats6o
macos_app: Keet-4.17.0-arm64.app.tgz
macos_dmg: Keet-4.17.0-arm64.dmg
macos_dmg_artifact_name: Keet-4.17.0-arm64
macos_certificate_base64: ${{ secrets.CERTIFICATE_P12 }}
Expand All @@ -107,7 +109,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: holepunchto/make-pear-app
- uses: holepunchto/actions/make-pear-app@v1
with:
channel: production
upgrade_key: pear://jj7jywoj83pswtcf5asywbm4ngro3xikgg1zcaqq3kdyhghats6o
Expand Down
15 changes: 15 additions & 0 deletions make-pear-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ inputs:
description: 'macOS DMG to upload'
required: false
default: ''
macos_app:
description: 'macOS app bundle tarball to upload'
macos_dmg_artifact_name:
description: 'name for the uploaded macos dmg artifact'
required: false
Expand Down Expand Up @@ -238,6 +240,19 @@ runs:
name: ${{ inputs.macos_dmg_artifact_name || inputs.macos_dmg }}
path: out/make/**/${{ inputs.macos_dmg }}
if-no-files-found: error
- name: 'Create macOS app bundle artifact'
if: ${{ runner.os == 'macOS' && inputs.macos_app != '' }}
env:
MACOS_APP: ${{ inputs.macos_app }}
run: cd out && tar -czf "$RUNNER_TEMP/$MACOS_APP" *-darwin-*/*.app
Comment thread
AndreiRegiani marked this conversation as resolved.
Outdated
shell: bash
- name: 'Upload macOS app bundle artifact'
if: ${{ runner.os == 'macOS' && inputs.macos_app != '' }}
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: ${{ inputs.macos_app }}
path: ${{ runner.temp }}/${{ inputs.macos_app }}
if-no-files-found: error
- name: 'Upload Windows MSIX artifact'
if: ${{ runner.os == 'Windows' && inputs.windows_msix != '' }}
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
Expand Down
2 changes: 1 addition & 1 deletion restore-fuzz-corpus/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ inputs.path }}
key: ${{ inputs.key }}-${{ github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion save-fuzz-corpus/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
if: always()
with:
path: ${{ inputs.path }}
Expand Down