tweak name #7
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
name: Release | |
on: | |
push: | |
branches: [ "master" ] | |
tags: ["*"] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependecies | |
run: | | |
sudo apt remove needrestart | |
sudo apt update | |
sudo apt install --no-install-recommends --no-upgrade -y just | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Test | |
run: go test -v ./... | |
- name: Build Release Artifacts | |
run: just release $(git describe --tags) | |
- name: Archive Release Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: declix-artifacts.zip | |
path: dist/* |