Compare commits
6 Commits
894141a402
...
gitea
| Author | SHA1 | Date | |
|---|---|---|---|
| 008677cd8e | |||
| 4be53f8f4d | |||
| 4873670ea4 | |||
| 02306a923c | |||
| a48ada1378 | |||
| be9efe7f9a |
@@ -7,18 +7,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-and-build:
|
check-and-build:
|
||||||
runs-on: archlinux-basedevel-latest
|
runs-on: archlinux-base-devel
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup packages
|
||||||
|
run: pacman -Sy --noconfirm git pacman-contrib sudo nodejs
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup build user
|
- name: Setup build user
|
||||||
run: |
|
run: |
|
||||||
pacman -Sy --noconfirm git pacman-contrib sudo
|
|
||||||
useradd -m builduser
|
useradd -m builduser
|
||||||
echo "builduser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builduser
|
echo "builduser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builduser
|
||||||
chmod 0440 /etc/sudoers.d/builduser
|
chmod 0440 /etc/sudoers.d/builduser
|
||||||
@@ -57,6 +59,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo -u builduser makepkg -sf --noconfirm
|
sudo -u builduser makepkg -sf --noconfirm
|
||||||
|
|
||||||
|
- name: Upload Artefact
|
||||||
|
uses: christopherHX/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
path: '*.pkg.tar.zst'
|
||||||
|
|
||||||
- name: Upload On Gitea Package
|
- name: Upload On Gitea Package
|
||||||
if: steps.compare.outputs.build == 'true'
|
if: steps.compare.outputs.build == 'true'
|
||||||
env:
|
env:
|
||||||
|
|||||||
2
PKGBUILD
2
PKGBUILD
@@ -2,7 +2,7 @@
|
|||||||
pkgname=pandora-launcher
|
pkgname=pandora-launcher
|
||||||
_pkgrustname=pandora_launcher
|
_pkgrustname=pandora_launcher
|
||||||
_pkgtarname=PandoraLauncher
|
_pkgtarname=PandoraLauncher
|
||||||
pkgver=2.7.3
|
pkgver=2.6.3
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc="A modern Minecraft launcher that balances ease-of-use with powerful instance management features."
|
pkgdesc="A modern Minecraft launcher that balances ease-of-use with powerful instance management features."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|||||||
Reference in New Issue
Block a user