mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-08-21 15:17:15 +00:00
Fix
This commit is contained in:
13
.github/workflows/arch_pkg.yaml
vendored
13
.github/workflows/arch_pkg.yaml
vendored
@@ -23,18 +23,21 @@ jobs:
|
|||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- name: Install build deps
|
- 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
|
- name: Makepkg Build and Check
|
||||||
id: makepkg
|
id: makepkg
|
||||||
uses: edlanglois/pkgbuild-action@v1.1.8
|
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
|
# - name: Build ZST package
|
||||||
# run: |
|
# run: |
|
||||||
# useradd -G wheel -d /rexec/ -s /bin/bash build
|
# useradd -G wheel -d /rexec/ -s /bin/bash build
|
||||||
# makepkg -f
|
# makepkg -f
|
||||||
|
- name: LIST
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
ls -lah
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
name: Upload ZST package
|
name: Upload ZST package
|
||||||
with:
|
with:
|
||||||
|
2
PKGBUILD
2
PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="Parallel SSH executor"
|
|||||||
url="https://github.com/house-of-vanity/rexec"
|
url="https://github.com/house-of-vanity/rexec"
|
||||||
license=("WTFPL")
|
license=("WTFPL")
|
||||||
arch=("x86_64")
|
arch=("x86_64")
|
||||||
makedepends=("cargo")
|
makedepends=("rustup")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
Reference in New Issue
Block a user