Release #14
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
--- | |
name: "Release" | |
# Careful! This pushes a git tag to GitHub! The release itself is private. | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: > | |
Tag, which is set by the this GitHub workflow. | |
Should follow SemVer and is not allowed to exist already. | |
required: true | |
type: string | |
jobs: | |
build_rcc: | |
uses: ./.github/workflows/rcc.yaml | |
build_robotmk: | |
uses: ./.github/workflows/robotmk_build.yaml | |
release: | |
runs-on: ubuntu-latest | |
needs: [build_rcc, build_robotmk] | |
steps: | |
- uses: actions/checkout@v4 # Determines the ref, which is used for the | |
# release. For setting a different ref, all `needs` jobs need to be | |
# adjusted. Currently, everything uses the default branch. | |
- uses: actions/download-artifact@v3 | |
- run: zip -r executables.zip artifact |