-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 1.07 KB
/
main.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
name: Installer ISO build
on:
push:
branches:
- 'master'
jobs:
build:
name: Installer ISO build
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
iso_file_name: ${{ steps.build_iso.outputs.iso_file_name }}
version: ${{ steps.build_iso.outputs.version }}
id: ${{ steps.build_iso.outputs.id }}
steps:
- uses: actions/checkout@v3
- name: Change directory
run: cd $GITHUB_WORKSPACE
- name: Build ISO
id: build_iso
run: ./build-iso-docker.sh
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.build_iso.outputs.version }}_${{ steps.build_iso.outputs.id }}
name: ${{ steps.build_iso.outputs.version }} (${{ steps.build_iso.outputs.id }})
draft: false
prerelease: true
fail_on_unmatched_files: true
files: |
output/${{ steps.build_iso.outputs.iso_file_name }}
output/sha256sum.txt