Skip to content

Release

Release #18

Workflow file for this run

name: Release
on:
schedule:
- cron: '33 3 1 * *'
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Build
run: ./dicts.sh
- name: Get current date
run: echo "CUR_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
- name: Upload
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.CUR_DATE }}
files: dist/B*
fail_on_unmatched_files: true