Skip to content

Commit

Permalink
Changed action triggers (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
art-divin committed Jan 15, 2024
1 parent dfe4023 commit f2325b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release_macOS.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: release macOS

on:
workflow_run:
workflows: [test macOS]
types:
- completed
workflow_dispatch:
inputs:
ref:
Expand All @@ -16,8 +12,9 @@ on:
- '*'

jobs:
tests:
uses: ./.github/workflows/test_macOS.yml
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Build Sourcery for macOS
runs-on: macos-13
steps:
Expand Down Expand Up @@ -95,4 +92,4 @@ jobs:
with:
name: ${{ steps.build.outputs.ARTIFACTBUNDLENAME }}
path: "~/${{ steps.build.outputs.ARTIFACTBUNDLENAME }}"
retention-days: 5
retention-days: 5
9 changes: 3 additions & 6 deletions .github/workflows/release_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: release ubuntu

on:
workflow_run:
workflows: [test ubuntu]
types:
- completed
workflow_dispatch:
inputs:
ref:
Expand All @@ -16,8 +12,9 @@ on:
- '*'

jobs:
tests:
uses: ./.github/workflows/test_ubuntu.yml
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Build Sourcery for Ubuntu (latest)
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -55,4 +52,4 @@ jobs:
with:
name: ${{ steps.build.outputs.FILENAME }}
path: "~/${{ steps.build.outputs.FILENAME }}"
retention-days: 5
retention-days: 5

0 comments on commit f2325b8

Please sign in to comment.