Skip to content

Commit

Permalink
测试action
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaogang.su committed Dec 9, 2024
1 parent fd98e59 commit 7e9c1d4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/go-binary-release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: build-go-binary


on:
release:
types: [created]
#on:
# release:
# types: [created] # 表示在创建新的 Release 时触发
types: [created] # 表示在创建新的 Release 时触发
permissions:
contents: write
packages: write
Expand Down Expand Up @@ -45,8 +43,8 @@ jobs:
mv ping1.template ./build/bin
mv dropbear ./build/bin
mv dropbearkey ./build/bin
zip -r ./build/BE5000_SSh_${{ matrix.goos }}_${{ matrix.goarch }}.zip ./build/release
zip -r ./build/release/BE5000_SSh_${{ matrix.goos }}_${{ matrix.goarch }}.zip ./build/bin
ls ./build/release/*
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
Expand Down

0 comments on commit 7e9c1d4

Please sign in to comment.