1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2024-09-29 17:36:28 +09:00
zbpdata/.github/workflows/release.yml
源文雨 3585b946c3 fix
2022-11-15 11:49:01 +08:00

30 lines
534 B
YAML

name: 更新 md5
on:
push:
tags:
- 'v*'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Run Updater
env:
REILIA_SPS: ${{ secrets.REILIA_SPS }}
run: |
ls
go mod init updater
sed -i '1,3d' main.go
go mod tidy
go run main.go