File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Test upload to github release
3
+
4
+ on :
5
+ release :
6
+ types : [published]
7
+
8
+ jobs :
9
+ init :
10
+ uses : ./.github/workflows/00-init.yml
11
+
12
+ test-upload :
13
+ name : Build Power Apps
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : ⬇ Checkout repo
17
+ uses : actions/checkout@v3
18
+
19
+ - name : 📛 Log github
20
+ uses : actions/github-script@v6
21
+ with :
22
+ script : |
23
+ console.log('Github:' , github);
24
+ console.log('Context:' , context);
25
+
26
+ - name : ⬆ Upload Release Asset
27
+ id : upload-release-asset
28
+ uses : actions/upload-release-asset@v1
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ with :
32
+ upload_url : ${{ github.event.release.url }}
33
+ asset_path : ./
34
+ asset_name : test.zip
35
+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments