Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87818b6a22 | ||
|
|
17dcdcde23 | ||
|
|
5c0f871415 |
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: build-arch-package
|
||||
description: Build an Arch Linux package
|
||||
inputs:
|
||||
PKGBUILD:
|
||||
description: PKGBUILD path
|
||||
required: true
|
||||
OUTDIR:
|
||||
description: Output directory to store the built package (relative to $HOME)
|
||||
required: false
|
||||
default: $HOME/arch-packages
|
||||
BUILD_SCRIPT:
|
||||
description: Pacman configuration file used
|
||||
required: false
|
||||
default: extra-x86_64-build
|
||||
branding:
|
||||
color: blue
|
||||
icon: archive
|
||||
runs:
|
||||
using: node16
|
||||
main: index.js
|
||||
@@ -87,9 +87,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set proper repository url in PKGBUILD
|
||||
run: sed -i "s|%URL%|${{ github.server_url }}/${{ github.repository }}|" .github/workflows/PKGBUILD
|
||||
run: sed -i "s|%URL%|${{ github.server_url }}/${{ github.repository }}|" $GITHUB_WORKSPACE/tools/distro/arch/git/PKGBUILD
|
||||
- name: Build Arch Linux package
|
||||
uses: ./
|
||||
uses: $GITHUB_WORKSPACE/.github/actions/archpkgbuild/action.yml
|
||||
with:
|
||||
BUILD_SCRIPT: extra-x86_64-build
|
||||
PKGBUILD: $GITHUB_WORKSPACE/tools/distro/arch/git/PKGBUILD
|
||||
|
||||
Reference in New Issue
Block a user