1
0
Fork 0
mirror of synced 2024-05-24 22:40:00 +12:00

Workflows: Use local repository for Ubuntu package

This commit is contained in:
loathingKernel 2023-12-08 18:56:31 +02:00
parent 8ec82f0283
commit f9e8dbe528
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD

View file

@ -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: |