forked from webosbrew/webos-homebrew-channel
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 861 Bytes
/
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
name: 'Build & Release'
on:
release:
types: [created]
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
pattern: 'hbchannel-*'
merge-multiple: true
- name: Get release
id: get_release
uses: bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload IPK
uses: ncipollo/release-action@v1
with:
name: Release ${{ steps.get_release.outputs.tag_name }}
allowUpdates: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitPrereleaseDuringUpdate: true
artifacts: '*.ipk,*.manifest.json'