32 lines
685 B
YAML
32 lines
685 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
release:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: setup go
|
|
uses: https://github.com/actions/setup-go@v4
|
|
with:
|
|
go-version: '>=1.20.1'
|
|
- name: Install packages
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: emacs texlive-full git make
|
|
version: 1.0
|
|
- name: release-build
|
|
run: make
|
|
- name: Release
|
|
id: use-go-action
|
|
uses: actions/release-action@main
|
|
with:
|
|
files: |-
|
|
bylaws.pdf
|
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|