Build EndeavourOS devel ISO #950
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build EndeavourOS devel ISO | |
on: | |
schedule: | |
- cron: "0 10 * * 1" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
permissions: | |
contents: write | |
container: | |
image: archlinux:latest | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set current date and hour as environment variable | |
run: echo "NOW=$(date +'%Y-%m-%d_%H-%M')" >> $GITHUB_ENV | |
- name: Add EndeavourOS Repo | |
run: bash add-EndeavourOS | |
- name: Update packages and install archiso | |
run: "pacman -Syu --noconfirm --needed archiso mkinitcpio-archiso git squashfs-tools wget sudo base-devel curl lftp" | |
- name: create normal user (build) to build packages | |
run: bash build-packages | |
- name: preparations to build ISO | |
run: bash prepare-action | |
- name: Build ISO | |
run: bash build-iso | |
- name: tarball relase files | |
run: "cp EndeavourOS-ISO/*.log EndeavourOS-ISO/out/ && cd EndeavourOS-ISO/out && tar -czvf EndeavourOS-${{ env.NOW }}-devel-iso.tar.gz *.sha512sum *.iso *.log" | |
- name: Upload server_DEVEL | |
run: "curl -g -k -T EndeavourOS-ISO/out/*.tar.gz -u ${{secrets.SERVER_STRING_DEVEL}}" | |
#- name: archive for release | |
# run: tar -czvf EndeavourOS-ISO/out/unstable.tar.gz EndeavourOS-ISO/out/*.sha512sum EndeavourOS-ISO/out/*.iso | |
#- name: Upload binaries to release | |
# uses: svenstaro/upload-release-action@v2 | |
# with: | |
# repo_name: endeavouros-team/development-iso-testing | |
# repo_token: ${{ secrets.ACCESS_TOKEN }} | |
# file: EndeavourOS-ISO/out/unstable.tar.gz | |
# asset_name: ${{ env.NOW }}-unstable.tar.gz | |
# tag: ${{ env.NOW }} | |
# prerelease: true | |
# overwrite: false | |
# body: "latest unstable iso" |