This commit is contained in:
2023-08-31 19:55:59 +03:00
parent fcf91e3f89
commit a77a7cd089
2 changed files with 9 additions and 6 deletions

View File

@ -23,18 +23,21 @@ jobs:
target: x86_64-unknown-linux-musl
components: rustfmt
- name: Install build deps
run: pacman -Syu --noconfirm rustup musl git base-devel sudo
run: |
pacman -Syu --noconfirm rustup musl git base-devel
rustup target add ${{ env.BUILD_TARGET }}
- name: Makepkg Build and Check
id: makepkg
uses: edlanglois/pkgbuild-action@v1.1.8
- name: Print Package Files
run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
# - name: Build ZST package
# run: |
# useradd -G wheel -d /rexec/ -s /bin/bash build
# makepkg -f
- name: LIST
run: |
pwd
ls -lah
- uses: actions/upload-artifact@v2
name: Upload ZST package
with:

View File

@ -6,7 +6,7 @@ pkgdesc="Parallel SSH executor"
url="https://github.com/house-of-vanity/rexec"
license=("WTFPL")
arch=("x86_64")
makedepends=("cargo")
makedepends=("rustup")
pkgver() {
echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'