Commit 75fa429b by JustSong

Fix GitHub Actions

parent b61bbe73
name: Linux Release name: Linux Release
permissions:
contents: write
on: on:
push: push:
...@@ -45,5 +47,7 @@ jobs: ...@@ -45,5 +47,7 @@ jobs:
files: | files: |
one-api one-api
one-api-arm64 one-api-arm64
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
name: macOS Release name: macOS Release
permissions:
contents: write
on: on:
push: push:
...@@ -36,5 +38,7 @@ jobs: ...@@ -36,5 +38,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: one-api-macos files: one-api-macos
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Windows Release name: Windows Release
permissions:
contents: write
on: on:
push: push:
...@@ -39,5 +41,7 @@ jobs: ...@@ -39,5 +41,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: one-api.exe files: one-api.exe
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment