Skip to content

Commit

Permalink
ci: correctly trigger jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 27, 2024
1 parent ae206de commit 0aba57c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
prerelease: false
body: |
![](https://img.shields.io/github/downloads/AFM-analysis/PyJibe/${{ env.RELEASE_VERSION }}/total.svg)
For signed installers, please read the [Code Signing Policy](https://pyjibe.readthedocs.io/en/stable/code_signing.html).
files: |
./build-recipes/dist/*.dmg
./build-recipes/dist/*.pkg
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/deploy_github_signed_windows.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Deploy Signed Windows Installer to GitHub Releases

on:
workflow_run:
workflows: [Deploy to GitHub Releases]
types:
- completed
push:
tags:
- '*'

env:
PYINSTALLER_COMPILE_BOOTLOADER: 1
Expand Down Expand Up @@ -58,8 +57,9 @@ jobs:
wait-for-completion: true
output-artifact-directory: 'build-recipes/dist/PyJibe'
parameters: |
Version: ${{ toJSON(env.RELEASE_VERSION) }}
Release_Tag: env.RELEASE_VERSION
# must be JSON, but we cannot nest env in a `toJSON` call
Version: '"${{ env.RELEASE_VERSION }}"'
Release_Tag: ${{ env.RELEASE_VERSION }}
- name: Create Windows installer
working-directory: ./build-recipes
run: |
Expand All @@ -86,8 +86,9 @@ jobs:
wait-for-completion: true
output-artifact-directory: 'build-recipes/Output'
parameters: |
Version: ${{ toJSON(env.RELEASE_VERSION) }}
Release_Tag: env.RELEASE_VERSION
# must be JSON, but we cannot nest env in a `toJSON` call
Version: '"${{ env.RELEASE_VERSION }}"'
Release_Tag: ${{ env.RELEASE_VERSION }}
- name: Rename windows installer to signed
shell: bash
run: |
Expand All @@ -99,8 +100,6 @@ jobs:
name: PyJibe ${{ env.RELEASE_VERSION }}
draft: true
prerelease: false
append_body: |
For signed installers, please read the [Code Signing Policy](https://pyjibe.readthedocs.io/en/stable/code_signing.html).
files: |
./build-recipes/dist/*.dmg
./build-recipes/dist/*.pkg
Expand Down

0 comments on commit 0aba57c

Please sign in to comment.