WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 819a7c7

Browse files
committed
Merge branch 'release/v1.7' of https://github.com/game1024/OpenSpeedy into release/v1.7
2 parents 6b7f6fd + a5302df commit 819a7c7

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/sign.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
name: Sign OpenSpeedy
2-
1+
name: Sign
32
on:
43
workflow_dispatch:
54
inputs:
65
build_id:
76
description: '构建工作流ID'
87
required: true
98
type: string
9+
version:
10+
description: '版本号'
11+
required: true
12+
default: '1.0.0'
13+
type: string
1014
artifact_name:
1115
description: '签名的制品名称'
1216
required: true
@@ -24,7 +28,7 @@ jobs:
2428
name: ${{ github.event.inputs.artifact_name }}
2529
run-id: ${{ github.event.inputs.build_id }}
2630
path: artifacts/
27-
github-token: ${{ secrets._GITHUB_TOKEN }}
31+
github-token: ${{ secrets.GITHUB_TOKEN }}
2832

2933
- id: upload-unsigned-artifacts
3034
name: Re-upload as new artifact
@@ -44,10 +48,12 @@ jobs:
4448
github-artifact-id: ${{ steps.upload-unsigned-artifacts.outputs.artifact-id }}
4549
wait-for-completion: true
4650
output-artifact-directory: signed-artifacts/
51+
parameters: |
52+
version: ${{ toJSON(github.event.inputs.version) }}
4753
4854
- name: Upload signed artifacts
4955
uses: actions/upload-artifact@v4
5056
with:
51-
name: OpenSpeedy-signed
57+
name: OpenSpeedy-signed-artifacts
5258
path: signed-artifacts/
53-
retention-days: 30
59+
retention-days: 30

0 commit comments

Comments
 (0)