use double quotes to actually display the URL #26
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: Git builds | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# Only trigger manually | |
on: [push, workflow_dispatch] | |
jobs: | |
debian: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: build Debian package | |
run: | | |
sudo apt install debhelper-compat python3 python3-markdown python3-markupsafe python3-jinja2 sharutils | |
cp -r distros/debian . | |
make debian | |
- name: upload | |
uses: actions/upload-artifact@v3 | |
with: | |
path: shutorial_*_all.deb | |
name: debian_package | |
# arch: | |
# runs-on: ubuntu-latest | |
# container: | |
# image: carlodepieri/docker-archlinux-systemd | |
# options: --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Install yay | |
# run: | | |
# pacman -Sy --noconfirm --needed git base-devel | |
# git clone https://aur.archlinux.org/yay-bin.git | |
# chmod -R 777 yay-bin | |
# cd yay-bin | |
# runuser -unobody -- makepkg --syncdeps | |
# echo "XXX Current directory content:" | |
# ls -a | |
# echo "XXX Installing the package with 'pacman -U yay-bin-1*.pkg.tar.zst'" | |
# pacman --noconfirm -U yay-bin-1*.pkg.tar.zst | |
# - name: Install dependencies | |
# run: | | |
# yay -Sy mmdebstrap | |
# pacman -Sy --noconfirm schroot squashfs-tools | |
# pacman -Sy --noconfirm python-markdown python-markupsafe python-jinja sharutils | |
# - name: Build Arch package | |
# run: | | |
# make arch-linux | |
# - name: upload | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# path: shutorial-*.pkg.tar.xz | |
# name: arch_package |