Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
a4b6a60e
Unverified
Commit
a4b6a60e
authored
Dec 08, 2024
by
wukongdaily
Committed by
GitHub
Dec 08, 2024
Browse files
Update build.yml
parent
953122ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
.github/workflows/build.yml
.github/workflows/build.yml
+8
-7
No files found.
.github/workflows/build.yml
View file @
a4b6a60e
...
...
@@ -73,17 +73,18 @@ jobs:
-
name
:
Create GitHub Release
id
:
create_release
uses
:
ncipollo/release-action@v1.14.0
uses
:
ncipollo/release-action@v1.14.0
# 使用 ncipollo/release-action 创建发布
with
:
tag
_name
:
${{ env.TAG_NAME }}
# 使用时间戳作为 tag 名称
release_
name
:
"
${{
env.RELEASE_DATE
}}
Build"
# 使用时间戳作为 release 名称
tag
:
${{ env.TAG_NAME }}
# 使用时间戳作为 tag 名称
name
:
"
${{
env.RELEASE_DATE
}}
Build"
# 使用时间戳作为 release 名称
draft
:
false
prerelease
:
false
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes
:
false
makeLatest
:
true
# 设置为 true
token
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Upload firmware to GitHub Release
uses
:
tanyagray/
action
-
upload-release-asset@v1
.1.3
uses
:
action
s/
upload-release-asset@v1
with
:
upload_url
:
${{ steps.create_release.outputs.upload_url }}
asset_path
:
${{ env.FIRMWARE_PATHS }}
# 传递固件文件路径
...
...
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