We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b8444 commit 208296cCopy full SHA for 208296c
.github/workflows/upload_file.yml
@@ -0,0 +1,15 @@
1
+name: upload_file
2
+on: [push]
3
+jobs:
4
+ upload-file1:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ # 下载文件
8
+ - name: Download File
9
+ run: wget https://github.com/pitycycy/example-github-actions-helloworld/raw/refs/heads/main/hello.txt
10
+ # 这将从您的工作流中上传工件,且允许您在工作流完成后在作业之间共享数据并存储数据
11
+ - uses: actions/upload-artifact@v2
12
+ with:
13
+ - name: my-artifact # 文件名称
14
+ - path: hello.txt # 文件路径
15
+ - if-no-files-found: error # 未找到文件时执行的操作
0 commit comments