Release #59
Workflow file for this run
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
on: | |
push: | |
tags: | |
- "v*.*.*-*" | |
name: Release | |
jobs: | |
docker-build: | |
uses: ./.github/workflows/docker.yml | |
build-and-test: | |
uses: ./.github/workflows/build.yml | |
create-release: | |
# needs: | |
# - docker-build | |
# - build-and-test | |
runs-on: ubuntu-latest | |
steps: | |
# - uses: actions/download-artifact@v3 | |
# with: | |
# name: thundering-herd-scheduler-binaries | |
# path: bin | |
# - name: debug list files | |
# run: find . | |
- name: Draft Release | |
if: contains(github.ref, 'alpha') || contains(github.ref, 'beta') | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: bin/thundering-herd-scheduler* | |
append_body: true | |
draft: true | |
body: | | |
Build also available as docker image: | |
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}` | |
- name: PreRelease | |
if: contains(github.ref, 'rc') | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: bin/thundering-herd-scheduler* | |
append_body: true | |
prerelease: true | |
body: | | |
Build also available as docker image: | |
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}` | |
- name: Release | |
if: (!(contains(github.ref, 'rc'))) | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: bin/thundering-herd-scheduler* | |
append_body: true | |
draft: contains(github.ref, 'alpha') || contains(github.ref, 'beta') | |
prerelease: contains(github.ref, 'rc') | |
body: | | |
Build also available as docker image: | |
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}` |