Skip to content

feat(toolchains): add support to download toolchains #9

feat(toolchains): add support to download toolchains

feat(toolchains): add support to download toolchains #9

Workflow file for this run

---
name: "release"
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.DISTBUILD_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Setup environment file
run: cp .env.example .env
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.24"
- name: Unshallow
run: git fetch --prune --unshallow
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.DISTBUILD_TOKEN }}
- name: Create release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.DISTBUILD_TOKEN }}