1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-06-30 20:03:24 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
4aeba55550 upload to dist 2021-03-27 12:45:56 +08:00
2 changed files with 24 additions and 4 deletions

View File

@ -9,14 +9,12 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16.2'
@ -28,3 +26,23 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Dist
uses: actions/checkout@v2
with:
repository: 'wdvxdr1123/dist'
ref: master
ssh-key: ${{ secrets.SSH_KEY }}
path: upstream/dist
- name: Update Dist
run: |
cp dist/*.tar.gz upstream/dist/
cp dist/*.zip upstream/dist/
cd upstream/dist
git config --local user.name 'Github Actions'
git config --local user.email 'github-actions@users.noreply.github.com'
git add --all
git commit -m "update to ${GITHUB_REF#"refs/tags/"}"
git push

View File

@ -16,6 +16,8 @@ builds:
- amd64
- arm
- arm64
goarm:
- 7
ignore:
- goos: darwin
goarch: arm