mirror of
https://github.com/FloatTech/zbpdata.git
synced 2026-02-02 13:28:56 +09:00
add auto-updater
This commit is contained in:
28
.github/workflows/release.yml
vendored
Normal file
28
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
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.17'
|
||||
|
||||
- name: Run Updater
|
||||
env:
|
||||
REILIA_SPS: ${{ secrets.REILIA_SPS }}
|
||||
run: |
|
||||
ls
|
||||
go mod init updater
|
||||
go mod tidy
|
||||
go run main.go
|
||||
Reference in New Issue
Block a user