-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (50 loc) · 1.67 KB
/
update-helics.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Update HELICS Packages
on:
workflow_dispatch:
inputs:
dryrun:
description: 'Do a dry run of the update process, without making the commit'
required: false
type: boolean
jobs:
get-helics-version:
name: Get HELICS Version
runs-on: ubuntu-latest
outputs:
ver: ${{ steps.hver.outputs.HELICS_VERSION }}
steps:
- uses: actions/checkout@v4
- name: Read HELICS_VERSION
id: hver
run: echo "HELICS_VERSION=$(cat HELICS_VERSION)" >> $GITHUB_OUTPUT
update-spack:
needs: get-helics-version
uses: ./.github/workflows/update-spack-package.yml
with:
dryrun: ${{ inputs.dryrun }}
secrets: inherit
update-mingw:
needs: get-helics-version
uses: ./.github/workflows/update-mingw-package.yml
with:
dryrun: ${{ inputs.dryrun }}
secrets: inherit
update-yggdrasil:
needs: get-helics-version
uses: ./.github/workflows/update-yggdrasil-package.yml
with:
dryrun: ${{ inputs.dryrun }}
secrets: inherit
update-language-bindings:
name: Trigger Language Bindings Version Update
runs-on: ubuntu-latest
needs: get-helics-version
steps:
- name: Update pyhelics package
env:
GH_TOKEN: ${{ secrets.HELICS_PACKAGING_TOKEN }}
run: gh workflow run --repo GMLC-TDC/pyhelics update-helics.yml -f dryrun=${{ inputs.dryrun }} -f version=${{ needs.get-helics-version.outputs.ver }}
- name: Update matHELICS package
env:
GH_TOKEN: ${{ secrets.HELICS_PACKAGING_TOKEN }}
run: gh workflow run --repo GMLC-TDC/matHELICS update-helics.yml -f dryrun=${{ inputs.dryrun }} -f version=${{ needs.get-helics-version.outputs.ver }}