Skip to content

build

build #659

Workflow file for this run

name: build
on:
workflow_dispatch:
schedule:
- cron: "0 23 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: build
run: ./build.sh
- name: Set variables
run: |
echo "RELEASE_NAME=Released on $(date +%Y%m%d%H%M)" >> $GITHUB_ENV
echo "TAG_NAME=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
- name: Release and upload assets
uses: softprops/[email protected]
with:
name: ${{ env.RELEASE_NAME }}
tag_name: ${{ env.TAG_NAME }}
draft: false
prerelease: false
files: |
./rule/*.txt
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}