1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2024-11-17 17:47:14 +09:00
zbpdata/.github/workflows/release.yml

30 lines
534 B
YAML
Raw Normal View History

2021-12-25 21:15:28 +09:00
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:
2023-02-27 14:59:20 +09:00
go-version: '1.20'
2021-12-25 21:15:28 +09:00
- name: Run Updater
env:
REILIA_SPS: ${{ secrets.REILIA_SPS }}
run: |
ls
go mod init updater
2022-03-27 15:00:12 +09:00
sed -i '1,3d' main.go
2021-12-25 21:15:28 +09:00
go mod tidy
go run main.go