Workflows: Use local repository for Ubuntu package
This commit is contained in:
parent
8ec82f0283
commit
f9e8dbe528
4
.github/workflows/job_ubuntu.yml
vendored
4
.github/workflows/job_ubuntu.yml
vendored
|
@ -20,11 +20,11 @@ jobs:
|
|||
sudo apt install makedeb
|
||||
- name: Prepare source directory
|
||||
run: |
|
||||
git clone https://mpr.makedeb.org/rare build
|
||||
git clone https://github.com/RareDevs/package-mpr.git build
|
||||
sed '/^pkgver=/d' -i build/PKGBUILD
|
||||
sed '/^source=/d' -i build/PKGBUILD
|
||||
echo "pkgver=${{ inputs.version }}" >> build/PKGBUILD
|
||||
echo "source=(\"\$pkgname-\$pkgver::git+https://github.com/${{ github.repository }}.git#branch=${{ github.ref_name }}\")" >> build/PKGBUILD
|
||||
echo "source=(\"git+https://github.com/${{ github.repository }}.git#branch=${{ github.ref_name }}\")" >> build/PKGBUILD
|
||||
|
||||
- name: Run makedeb
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue