forked from matiasdelellis/debian-live-action
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 963 Bytes
/
build.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: "Build Debian Live Minimal ISO"
on:
workflow_dispatch:
inputs:
tagName:
description: "Tag name"
required: true
default: 'latest'
push:
paths-ignore:
- 'README.md'
- 'LICENSE'
jobs:
build-release:
name: "Build and Release"
runs-on: "ubuntu-20.04"
steps:
- name: "Get Date"
run: |
echo "DATESTAMP=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: "Checking out git repository"
uses: actions/checkout@v2
- name: "Build Image"
run: |
./build.sh
- name: "Publish"
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "${{ env.DATESTAMP }}"
title: "Debian 12 Live Minimal ISO"
files: |
output/debian12-live-minimal-x86_64.iso
output/packages.txt