-
Notifications
You must be signed in to change notification settings - Fork 186
42 lines (39 loc) · 1 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
name: release
on:
workflow_call:
inputs:
board-set:
description: "Which set to build"
required: true
type: string
jobs:
do-build:
uses: ./.github/workflows/build-boards.yml
with:
os: oxide-colo-builder-hubris
board-set: ${{ inputs.board-set }}
release-build:
needs: do-build
runs-on: oxide-colo-builder-hubris
steps:
- name: grab binary
id: grab
uses: actions/download-artifact@v4
with:
path: out
- name: prep
run: |
OUT=${{ steps.grab.outputs.download-path }}
for build in `ls $OUT`; do
for f in `ls $OUT/$build`; do
mv $OUT/$build/$f $OUT/$f
done
done
- name: cut release
uses: softprops/action-gh-release@v1
with:
name: "${{ inputs.board-set }} release"
fail_on_unmatched_files: true
body: "These are UNVERSIONED hubris artifacts"
files: |
${{ steps.grab.outputs.download-path }}/*.zip