Skip to content

Commit 803bc45

Browse files
authored
fix (torrent): testing upstream commit
1 parent 9fe9e09 commit 803bc45

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,24 @@ jobs:
3939
- name: Set up Cosign
4040
uses: sigstore/cosign-installer@v2.8.1
4141

42+
- name: Set up go work and cherry-pick anacrolix/torrent
43+
run: |
44+
cd ..
45+
git clone https://github.com/anacrolix/torrent -b v1.48.0
46+
go work init MirrorBotGo
47+
cd torrent
48+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
49+
git config --global user.name "github-actions[bot]"
50+
git cherry-pick e8971ea0f1bfb26e2e05eea6e98a547dfb231bb9
51+
cd ..
52+
go work use torrent
53+
4254
- name: Run GoReleaser
4355
uses: goreleaser/goreleaser-action@v3
4456
with:
4557
distribution: goreleaser
4658
version: latest
47-
args: release --rm-dist
59+
args: release --clean
4860
env:
4961
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5062
COSIGN_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}

0 commit comments

Comments
 (0)