Skip to content

Commit 801e5e2

Browse files
kotilndevelon2015
authored andcommitted
支持手动触发
1 parent 1bf67e3 commit 801e5e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- "v*.*.*"
7+
workflow_dispatch:
78

89
env:
910
CARGO_TERM_COLOR: always
@@ -27,15 +28,15 @@ jobs:
2728
- name: Build
2829
run: cargo build --release --verbose
2930
- name: Upload
30-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@master
3132
id: artifact-upload-step
3233
with:
3334
name: Binary-${{ matrix.os }}
3435
path: ${{ matrix.file }}
35-
- name: Output artifact ID
36-
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-url }}'
36+
- name: Output artifact URL
37+
run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}'
3738

38-
build2:
39+
release:
3940
name: downloading Binary-${{ matrix.os }}
4041
strategy:
4142
fail-fast: false

0 commit comments

Comments
 (0)