Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
etsune committed Jan 19, 2023
1 parent aeb4cdd commit 7b769bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release
on:
schedule:
- cron: '33 3 1 * *'
push:
tags:
- "v*"

jobs:

Expand All @@ -17,11 +20,14 @@ jobs:
go-version: 1.17

- name: Build
run: dicts.sh
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: ${{ date "+%Y%m%d" }}
with:
tag_name: ${{ env.CUR_DATE }}
files: dist/B*
fail_on_unmatched_files: true
Empty file modified dicts.sh
100644 → 100755
Empty file.

0 comments on commit 7b769bf

Please sign in to comment.