Compare commits
10 Commits
08dba55302
...
27228fcea0
| Author | SHA1 | Date | |
|---|---|---|---|
| 27228fcea0 | |||
| 33fcb33ba6 | |||
| 150a5303df | |||
| c9f94059cc | |||
| 5c996bd4d2 | |||
| 3bffac3ae7 | |||
| 91e8b8c11d | |||
| 347dece6de | |||
| 500fc82963 | |||
| c373f73845 |
+11
-11
@@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Update action.yml to build locally
|
||||
run: |
|
||||
@@ -26,14 +26,14 @@ jobs:
|
||||
|
||||
- name: Get sample package
|
||||
run: |
|
||||
# Spotify 1:1.2.63.394-1
|
||||
# Spotify 1:1.2.79.427-1
|
||||
mkdir spotify
|
||||
pushd spotify
|
||||
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/PKGBUILD
|
||||
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/.SRCINFO
|
||||
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/LICENSE
|
||||
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/spotify.protocol
|
||||
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/spotify.sh
|
||||
wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/PKGBUILD
|
||||
wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/.SRCINFO
|
||||
wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/LICENSE
|
||||
wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/spotify.protocol
|
||||
wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/spotify.sh
|
||||
popd
|
||||
- name: Running test
|
||||
uses: ./
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
updpkgsums: true
|
||||
srcinfo: true
|
||||
path: 'spotify'
|
||||
pgpkeys: 'C85668DF69375001'
|
||||
pgpkeys: '5384CE82BA52C83A'
|
||||
|
||||
- name: Show diff
|
||||
run: |
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Log in to ghcr.io
|
||||
uses: redhat-actions/podman-login@v1
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Get sample PKGBUILD
|
||||
run: wget https://github.com/${{ github.repository_owner }}/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
|
||||
@@ -148,7 +148,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Get branch/tag names
|
||||
id: branch-name
|
||||
|
||||
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.0.0] - 2026-01-16
|
||||
|
||||
### Changed
|
||||
|
||||
- Replace paru with yay - by @dcelasun
|
||||
|
||||
## [2.4.0] - 2025-06-01
|
||||
|
||||
### Added
|
||||
|
||||
+3
-3
@@ -10,9 +10,9 @@ RUN useradd -m builder && \
|
||||
WORKDIR /home/builder
|
||||
USER builder
|
||||
|
||||
# Install paru
|
||||
RUN git clone https://aur.archlinux.org/paru-bin.git
|
||||
RUN cd paru-bin && makepkg -si --noconfirm
|
||||
# Install yay
|
||||
RUN git clone https://aur.archlinux.org/yay-bin.git
|
||||
RUN cd yay-bin && makepkg -si --noconfirm
|
||||
|
||||
# Copy files
|
||||
COPY LICENSE README.md /
|
||||
|
||||
@@ -30,7 +30,7 @@ Following inputs can be used as `step.with` keys
|
||||
| `srcinfo` | Boolean | `false` | `false` | Generate new .SRCINFO |
|
||||
| `namcap` | Boolean | `true` | `false` | Validate PKGBUILD |
|
||||
| `flags` | String | `-cfs --noconfirm` | `false` | Flags after `makepkg` command. Leave this empty will disable this command. |
|
||||
| `aur` | Boolean | `false` | `false` | Resolve dependencies using paru |
|
||||
| `aur` | Boolean | `false` | `false` | Resolve dependencies using yay |
|
||||
| `update_archlinux_keyring` | Boolean | `true` | `false` | Update the archlinux keyring |
|
||||
| `pgpkeys` | String | | `false` | Comma-separated PGP public keys to be loaded before calling makepkg. |
|
||||
| `pgpkeyserver` | String | `hkps://keyserver.ubuntu.com` | `false` | PGP key server address. |
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate package
|
||||
uses: heyhusen/archlinux-package-action@v2
|
||||
uses: heyhusen/archlinux-package-action@v3
|
||||
```
|
||||
|
||||
#### 2. Only generate .SRCINFO
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate package
|
||||
uses: heyhusen/archlinux-package-action@v2
|
||||
uses: heyhusen/archlinux-package-action@v3
|
||||
with:
|
||||
flags: ''
|
||||
namcap: false
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate package
|
||||
uses: heyhusen/archlinux-package-action@v2
|
||||
uses: heyhusen/archlinux-package-action@v3
|
||||
with:
|
||||
flags: ''
|
||||
namcap: false
|
||||
@@ -124,7 +124,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate package
|
||||
uses: heyhusen/archlinux-package-action@v2
|
||||
uses: heyhusen/archlinux-package-action@v3
|
||||
with:
|
||||
path: package
|
||||
flags: '-si --noconfirm'
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ inputs:
|
||||
default: 'true'
|
||||
required: false
|
||||
aur:
|
||||
description: 'Resolve dependencies using paru'
|
||||
description: 'Resolve dependencies using yay'
|
||||
default: 'false'
|
||||
required: false
|
||||
archlinux_keyring:
|
||||
|
||||
+3
-3
@@ -76,11 +76,11 @@ if [[ $INPUT_NAMCAP == true ]]; then
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
# Install depends using paru from aur
|
||||
# Install depends using yay from aur
|
||||
if [[ $INPUT_AUR == true ]]; then
|
||||
echo "::group::Installing depends using paru"
|
||||
echo "::group::Installing depends using yay"
|
||||
source PKGBUILD
|
||||
paru -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
|
||||
yay -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user