-
Notifications
You must be signed in to change notification settings - Fork 4
72 lines (69 loc) · 2.44 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Release
on:
release:
types:
- created
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Download all workflow artifacts
uses: dawidd6/action-download-artifact@v6
with:
workflow: build.yml
branch: ${{ github.event.release.target_commitish }}
# FIXME: I hate this
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-armv5/avahi2dns
asset_name: avahi2dns-linux-armv5
asset_content_type: binary/octet-stream
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-armv6/avahi2dns
asset_name: avahi2dns-linux-armv6
asset_content_type: binary/octet-stream
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-armv7/avahi2dns
asset_name: avahi2dns-linux-armv7
asset_content_type: binary/octet-stream
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-arm64/avahi2dns
asset_name: avahi2dns-linux-arm64
asset_content_type: binary/octet-stream
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-amd64/avahi2dns
asset_name: avahi2dns-linux-amd64
asset_content_type: binary/octet-stream
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: avahi2dns-linux-i386/avahi2dns
asset_name: avahi2dns-linux-i386
asset_content_type: binary/octet-stream