Skip to content

Tag v0.4.0

Tag v0.4.0 #27

Workflow file for this run

name: Build Pacman Package
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:base-devel
steps:
- name: Install rust
run: |
pacman -Syu --noconfirm
pacman -Sy git rustup --noconfirm
rustup default stable
- uses: actions/checkout@v3
- name: Setup enviroment
run: |
printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf
useradd builder -m
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
chmod -R a+rw .
cd build
sudo -H -u builder makepkg --syncdeps --noconfirm
- name: Archive pacman package
uses: actions/upload-artifact@v3
with:
name: proxyswarm-x86_64-pacman-package
path: build/*.zst