Create 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
# This workflow creates a release using goreleaser | |
# via the 'make release' command. | |
name: Create release | |
on: | |
workflow_dispatch: | |
inputs: | |
release_tag: | |
description: "The desired tag for the release (e.g. v0.1.0)." | |
required: true | |
permissions: | |
contents: write | |
jobs: | |
release: | |
name: Create release | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.inputs.release_tag }} | |
- name: Make release | |
run: | | |
make release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: 🧹 Clean release folder | |
run: | | |
sudo rm -rf dist |