mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-06-30 11:53:25 +00:00
Compare commits
1 Commits
v1.1.0
...
v1.0.0-alp
Author | SHA1 | Date | |
---|---|---|---|
4aeba55550 |
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
|
@ -16,6 +16,8 @@ builds:
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
goarm:
|
||||
- 7
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: arm
|
||||
|
Reference in New Issue
Block a user