Skip to content

Commit

Permalink
add release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
demonkillerr authored Mar 25, 2023
1 parent 2dbc309 commit f4fa3f7
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/iso-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Update packages and install archiso
- name: Set current date as environment variable
run: echo "DATE=`date +'%Y.%m.%d'`" >>$GITHUB_ENV

- name: Synchronise package repositories and install archiso
run: pacman -Syu --noconfirm archiso mkinitcpio-archiso git squashfs-tools

- name: Build ISO
- name: Build TCET Linux ISO
run: |
pacman -S --noconfirm --needed archlinux-keyring wget
wget https://raw.githubusercontent.com/theCode-Breaker/arch-linux-gui-gnome/master/pacman.conf -O /etc/pacman.conf
Expand All @@ -33,3 +36,14 @@ jobs:
#pacman-key --populate archlinux chaotic
mkarchiso -v -w ./work -o ./out ./
echo "ISO Built in ./out folder!"
- name: Release ISO File
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.DATE }}
prerelease: false
title: "tcet-linux"
files: |
out/*

0 comments on commit f4fa3f7

Please sign in to comment.