mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-06-30 11:53:25 +00:00
Compare commits
1 Commits
ea025013d0
...
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:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
-
|
- name: Set up Go
|
||||||
name: Set up Go
|
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.16.2'
|
go-version: '1.16.2'
|
||||||
@ -28,3 +26,23 @@ jobs:
|
|||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
|
goarm:
|
||||||
|
- 7
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
Reference in New Issue
Block a user