mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-05 09:49:22 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 07c5527243 | |||
|
|
680d36e526 |
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@@ -44,17 +44,8 @@ jobs:
|
||||
- name: Build with gf
|
||||
run: gf build -ew -v "${{ github.ref_name }}"
|
||||
|
||||
- name: Upload build artifacts (GitHub)
|
||||
if: contains(github.server_url, 'github.com')
|
||||
uses: actions/upload-artifact@v4 # GitHub使用v4版本以避免废弃警告
|
||||
with:
|
||||
name: p2p-${{ github.ref_name }}
|
||||
path: |
|
||||
bin/**
|
||||
|
||||
- name: Upload build artifacts (Gitea)
|
||||
if: ${{ github.server_url != 'https://github.com' || env.GITEA_ACTIONS == 'true' }}
|
||||
uses: actions/upload-artifact@v3 # Gitea使用v3版本以兼容GHES
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4 # 使用v4版本
|
||||
with:
|
||||
name: p2p-${{ github.ref_name }}
|
||||
path: |
|
||||
@@ -71,16 +62,8 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download artifacts (GitHub)
|
||||
if: contains(github.server_url, 'github.com')
|
||||
uses: actions/download-artifact@v4 # GitHub使用v4版本以避免废弃警告
|
||||
with:
|
||||
name: p2p-${{ github.ref_name }}
|
||||
path: bin
|
||||
|
||||
- name: Download artifacts (Gitea)
|
||||
if: contains(github.server_url, 'gitea')
|
||||
uses: actions/download-artifact@v3 # Gitea使用v3版本以兼容GHES
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4 # 使用v4版本
|
||||
with:
|
||||
name: p2p-${{ github.ref_name }}
|
||||
path: bin
|
||||
|
||||
2
go.mod
2
go.mod
@@ -5,7 +5,7 @@ go 1.24.8
|
||||
toolchain go1.24.9
|
||||
|
||||
require (
|
||||
github.com/ayflying/update-github-release v0.0.4
|
||||
github.com/ayflying/update-github-release v0.0.5
|
||||
github.com/dop251/goja v0.0.0-20250630131328-58d95d85e994
|
||||
github.com/getlantern/systray v1.2.2
|
||||
github.com/gogf/gf/v2 v2.9.4
|
||||
|
||||
4
go.sum
4
go.sum
@@ -13,8 +13,8 @@ github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2
|
||||
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
|
||||
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
|
||||
github.com/ayflying/update-github-release v0.0.4 h1:iJ09jieBFW/t96N3NqcFA6tS7hxKx4fnETp5VC7jSbo=
|
||||
github.com/ayflying/update-github-release v0.0.4/go.mod h1:9ctXuagiEKABWLaS4ocRCUcnN77jdYm7zir7NQ+rIeM=
|
||||
github.com/ayflying/update-github-release v0.0.5 h1:5iAiIzAu5TQjzsPnFPbCqPtwGacDHNDiTGMthBmotYE=
|
||||
github.com/ayflying/update-github-release v0.0.5/go.mod h1:9ctXuagiEKABWLaS4ocRCUcnN77jdYm7zir7NQ+rIeM=
|
||||
github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o=
|
||||
github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
|
||||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
|
||||
|
||||
Reference in New Issue
Block a user