From a77a7cd089647342c208736aa97a5c956ef102d3 Mon Sep 17 00:00:00 2001 From: Alexandr Bogomyakov Date: Thu, 31 Aug 2023 19:55:59 +0300 Subject: [PATCH] Fix --- .github/workflows/arch_pkg.yaml | 13 ++++++++----- PKGBUILD | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/arch_pkg.yaml b/.github/workflows/arch_pkg.yaml index d778f84..ec57d80 100644 --- a/.github/workflows/arch_pkg.yaml +++ b/.github/workflows/arch_pkg.yaml @@ -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: diff --git a/PKGBUILD b/PKGBUILD index 4b0f6ce..5cab9ee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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'