Skip to content

Release Finch latest version #51

Release Finch latest version

Release Finch latest version #51

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 }}