fix(ci): publish Arch package as owner
This commit is contained in:
@@ -183,6 +183,6 @@ jobs:
|
|||||||
package_file="$(find packaging/arch -maxdepth 1 -type f \
|
package_file="$(find packaging/arch -maxdepth 1 -type f \
|
||||||
-name 'folderscope-*.pkg.tar.zst' -print -quit)"
|
-name 'folderscope-*.pkg.tar.zst' -print -quit)"
|
||||||
test -n "$package_file"
|
test -n "$package_file"
|
||||||
curl --fail --show-error --user "${GITEA_ACTOR}:${GITEA_TOKEN}" \
|
curl --fail --show-error --user "forust:${GITEA_TOKEN}" \
|
||||||
--upload-file "$package_file" \
|
--upload-file "$package_file" \
|
||||||
"https://gitea.forust.xyz/api/packages/forust/arch/folderscope"
|
"https://gitea.forust.xyz/api/packages/forust/arch/folderscope"
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ sha256sums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -S "${srcdir}/${pkgname}-${pkgver}" -B build -G Ninja \
|
cmake -S "${srcdir}/${pkgname}-${pkgver}" -B build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
|
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user