Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d85f6789
authored
Oct 05, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: upgrade action-gh-release to v2 in build workflows
parent
65c430f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
.github/workflows/electron-build.yml
+1
-1
.github/workflows/linux-release.yml
+1
-1
.github/workflows/macos-release.yml
+1
-1
.github/workflows/windows-release.yml
+1
-1
No files found.
.github/workflows/electron-build.yml
View file @
d85f6789
...
@@ -114,7 +114,7 @@ jobs:
...
@@ -114,7 +114,7 @@ jobs:
uses
:
actions/download-artifact@v4
uses
:
actions/download-artifact@v4
-
name
:
Create Release
-
name
:
Create Release
uses
:
softprops/action-gh-release@v
1
uses
:
softprops/action-gh-release@v
2
with
:
with
:
files
:
|
files
:
|
# macos-build/*
# macos-build/*
...
...
.github/workflows/linux-release.yml
View file @
d85f6789
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -X 'one-api/common.Version=$VERSION' -extldflags '-static'" -o new-api-arm64-$VERSION
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -X 'one-api/common.Version=$VERSION' -extldflags '-static'" -o new-api-arm64-$VERSION
-
name
:
Release
-
name
:
Release
uses
:
softprops/action-gh-release@v
1
uses
:
softprops/action-gh-release@v
2
if
:
startsWith(github.ref, 'refs/tags/')
if
:
startsWith(github.ref, 'refs/tags/')
with
:
with
:
files
:
|
files
:
|
...
...
.github/workflows/macos-release.yml
View file @
d85f6789
...
@@ -42,7 +42,7 @@ jobs:
...
@@ -42,7 +42,7 @@ jobs:
VERSION=$(git describe --tags)
VERSION=$(git describe --tags)
go build -ldflags "-X 'one-api/common.Version=$VERSION'" -o new-api-macos-$VERSION
go build -ldflags "-X 'one-api/common.Version=$VERSION'" -o new-api-macos-$VERSION
-
name
:
Release
-
name
:
Release
uses
:
softprops/action-gh-release@v
1
uses
:
softprops/action-gh-release@v
2
if
:
startsWith(github.ref, 'refs/tags/')
if
:
startsWith(github.ref, 'refs/tags/')
with
:
with
:
files
:
new-api-macos-*
files
:
new-api-macos-*
...
...
.github/workflows/windows-release.yml
View file @
d85f6789
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
VERSION=$(git describe --tags)
VERSION=$(git describe --tags)
go build -ldflags "-s -w -X 'one-api/common.Version=$VERSION'" -o new-api-$VERSION.exe
go build -ldflags "-s -w -X 'one-api/common.Version=$VERSION'" -o new-api-$VERSION.exe
-
name
:
Release
-
name
:
Release
uses
:
softprops/action-gh-release@v
1
uses
:
softprops/action-gh-release@v
2
if
:
startsWith(github.ref, 'refs/tags/')
if
:
startsWith(github.ref, 'refs/tags/')
with
:
with
:
files
:
new-api-*.exe
files
:
new-api-*.exe
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment