Add files via upload (#51) #100
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 更新 md5 | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: 'true' | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20' | |
- name: Run Updater | |
env: | |
REILIA_SPS: ${{ secrets.REILIA_SPS }} | |
run: | | |
echo "ls ./" | |
ls | |
rm -rf Wife/*.go Wife/*.md Wife/.git | |
echo "ls Wife/" | |
ls Wife/ | |
go mod init updater | |
sed -i '1,3d' main.go | |
go mod tidy | |
go run main.go |