Skip to content

Commit b3692fc

Browse files
committed
test: release upload
1 parent 6743d2c commit b3692fc

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

test.zip

154 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)