-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
base64
usage in osx-64, upload to CI artifacts only (#149)
* use shell redirect? * Remove WebFreak001/deploy-nightl, use CI artifacts instead
- Loading branch information
Showing
1 changed file
with
5 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -339,8 +339,8 @@ jobs: | |
KEYCHAIN_PATH="$RUNNER_TEMP/installer-signing.keychain-db" | ||
# import certificate and provisioning profile from secrets | ||
echo -n "${{ secrets.APPLE_INSTALLER_CERTIFICATE_BASE64 }}" | /usr/bin/base64 --decode --output $INSTALLER_CERTIFICATE_PATH | ||
echo -n "${{ secrets.APPLE_APPLICATION_CERTIFICATE_BASE64 }}" | /usr/bin/base64 --decode --output $APPLICATION_CERTIFICATE_PATH | ||
echo -n "${{ secrets.APPLE_INSTALLER_CERTIFICATE_BASE64 }}" | /usr/bin/base64 --decode > $INSTALLER_CERTIFICATE_PATH | ||
echo -n "${{ secrets.APPLE_APPLICATION_CERTIFICATE_BASE64 }}" | /usr/bin/base64 --decode > $APPLICATION_CERTIFICATE_PATH | ||
# create temporary keychain | ||
security create-keychain -p "${{ secrets.TEMP_KEYCHAIN_PASSWORD }}" $KEYCHAIN_PATH | ||
|
@@ -485,11 +485,12 @@ jobs: | |
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
# CI artifact uploads only on manual runs | ||
if: inputs.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch' | ||
# CI artifact uploads only on manual and scheduled runs | ||
if: inputs.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch' || inputs.event_name == 'schedule' | ||
with: | ||
name: napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }} | ||
path: ${{ github.workspace }}/napari-packaging/_work/napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }} | ||
retention-days: 7 | ||
|
||
- name: Get Release | ||
if: inputs.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') | ||
|
@@ -505,18 +506,6 @@ jobs: | |
asset_name: napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }} | ||
asset_content_type: application/octet-stream | ||
|
||
- name: Upload Nightly Build Asset | ||
if: ${{ inputs.event_name == 'schedule' }} | ||
uses: WebFreak001/[email protected] | ||
with: | ||
# nightly build release from https://api.github.com/repos/napari/napari/releases | ||
upload_url: https://uploads.github.com/repos/napari/napari/releases/34273071/assets{?name,label} | ||
release_id: 34273071 | ||
asset_path: ${{ github.workspace }}/napari-packaging/_work/napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }} | ||
asset_name: napari-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }} | ||
asset_content_type: application/octet-stream | ||
max_releases: 1 | ||
|
||
- name: Test installation (Linux) | ||
if: runner.os == 'Linux' | ||
working-directory: napari-packaging/_work | ||
|