-
Notifications
You must be signed in to change notification settings - Fork 95
50 lines (45 loc) · 1.4 KB
/
release-automation.yaml
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
name: Release Finch latest version
on:
workflow_dispatch:
workflow_call:
jobs:
get-latest-tag:
name: Get the latest release tag
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.latest-tag.outputs.tag }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: 'Get the latest tag'
id: latest-tag
uses: "WyriHaximus/github-action-get-previous-tag@04e8485ecb6487243907e330d522ff60f02283ce" # v1.4.0
build-and-test-finch-pkg:
needs: get-latest-tag
uses: ./.github/workflows/build-and-test-pkg.yaml
secrets: inherit
with:
ref_name: ${{ needs.get-latest-tag.outputs.tag }}
upload-pkg-and-dependency-source-code-to-release:
needs:
- get-latest-tag
- build-and-test-finch-pkg
uses: ./.github/workflows/upload-installer-to-release.yaml
secrets: inherit
with:
ref_name: ${{ needs.get-latest-tag.outputs.tag }}
build-and-test-finch-msi:
needs: get-latest-tag
uses: ./.github/workflows/build-and-test-msi.yaml
secrets: inherit
with:
ref_name: ${{ needs.get-latest-tag.outputs.tag }}
upload-msi-to-release:
needs:
- get-latest-tag
- build-and-test-finch-msi
uses: ./.github/workflows/upload-msi-to-release.yaml
secrets: inherit
with:
ref_name: ${{ needs.get-latest-tag.outputs.tag }}