mirror of
https://github.com/FloatTech/zbpdata.git
synced 2024-11-17 17:47:14 +09:00
29 lines
502 B
YAML
29 lines
502 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.17'
|
||
|
|
||
|
- name: Run Updater
|
||
|
env:
|
||
|
REILIA_SPS: ${{ secrets.REILIA_SPS }}
|
||
|
run: |
|
||
|
ls
|
||
|
go mod init updater
|
||
|
go mod tidy
|
||
|
go run main.go
|