Trigger Manual Release #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2022-2024 Contributors to the Eclipse Foundation | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Apache License, Version 2.0 which is available at | |
# https://www.apache.org/licenses/LICENSE-2.0. | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | |
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | |
# License for the specific language governing permissions and limitations | |
# under the License. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Trigger Manual Release | |
on: | |
workflow_dispatch: | |
jobs: | |
bump-version: | |
runs-on: ubuntu-22.04 | |
outputs: | |
packageVersion: ${{ steps.changelog.outputs.version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Conventional Changelog Action | |
id: changelog | |
uses: TriPSs/conventional-changelog-action@v5 | |
with: | |
skip-on-empty: false | |
skip-version-file: true | |
skip-commit: true | |
tag-prefix: 'v' | |
- run: echo ${{ steps.changelog.outputs.version }} | |
compile: | |
uses: ./.github/workflows/build-exe.yml | |
needs: [bump-version] | |
with: | |
ref: v${{ needs.bump-version.outputs.packageVersion }} | |
cliVersion: ${{ needs.bump-version.outputs.packageVersion }} | |
create-release: | |
runs-on: ubuntu-22.04 | |
needs: [bump-version, compile] | |
steps: | |
- uses: actions/download-artifact@v4 | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "alpine-arm64/*,alpine-x64/*,linux-arm64/*,linux-x64/*" | |
tag: v${{ needs.bump-version.outputs.packageVersion }} |