Skip to content

Commit

Permalink
Merge pull request #74 from infoengine1337/features/20220708-splitloi…
Browse files Browse the repository at this point in the history
…dandyor

Split Loid and Yor
  • Loading branch information
infoengine1337 authored Jul 8, 2022
2 parents e9941d7 + 36fa3a3 commit 0ea664e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 97 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build_uhuruos_Loid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
name: Build Uhuru Image Loid

on:
pull_request:
branches: [ dev ]

schedule:
- cron: '0 12 * * *'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -37,7 +42,7 @@ jobs:
pacman-key --populate manjaro blackarch
- name: Build UhuruOS Loid edition
run: ./build.sh -c zstd --noloopmod --noconfirm -t "-Xcompression-level 22" xfce_loid
run: ./build.sh -c zstd --noloopmod --noconfirm xfce_loid

- name: Upload artifact
uses: actions/upload-artifact@v1
Expand All @@ -54,13 +59,17 @@ jobs:

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y.%m.%d')"
run: echo "::set-output name=date::$(date +'%Y.%m.%d')_Loid"

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: uhuru_x86_64

- name: Split ISO Images
run: |
ls UhuruOS-xfce_loid-en-*.iso | xargs -n1 -I{} bash -c "split -b1500m {} {}_splitted_ ; rm {}"
- name: Create release
uses: softprops/action-gh-release@v1
env:
Expand All @@ -71,6 +80,6 @@ jobs:
draft: false
prerelease: false
files: |
UhuruOS-*-x86_64.iso
UhuruOS-*x86_64.iso_splitted_*
89 changes: 0 additions & 89 deletions .github/workflows/build_uhuruos_LoidAndYor.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/build_uhuruos_Yor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
name: Build Uhuru Image Yor

on:
pull_request:
branches: [ dev ]

schedule:
- cron: '0 12 * * *'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -35,10 +40,10 @@ jobs:
run: |
pacman-key --init
pacman-key --populate manjaro blackarch
- name: Build UhuruOS Yor Edition
run: ./build.sh -c zstd --noloopmod --noconfirm -t "-Xcompression-level 22" xfce_yor
- name: Build UhuruOS Yor edition
run: ./build.sh -c zstd --noloopmod --noconfirm xfce_yor

- name: Upload artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -54,13 +59,17 @@ jobs:

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y.%m.%d')"
run: echo "::set-output name=date::$(date +'%Y.%m.%d')_Yor"

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: uhuru_x86_64

- name: Split ISO Images
run: |
ls UhuruOS-xfce_yor-en-*.iso | xargs -n1 -I{} bash -c "split -b1500m {} {}_splitted_ ; rm {}"
- name: Create release
uses: softprops/action-gh-release@v1
env:
Expand All @@ -71,6 +80,6 @@ jobs:
draft: false
prerelease: false
files: |
UhuruOS-*-x86_64.iso
UhuruOS-*x86_64.iso_splitted_*

0 comments on commit 0ea664e

Please sign in to comment.