Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Mar 25, 2024
1 parent fd7a0c0 commit b0bac37
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 23 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
strategy:
fail-fast: false
matrix:
tag: ['3.15','3.14','3.13','3.12']
tag: ['3.19','3.18','3.17','3.16']

container: alpine:${{ matrix.tag }}

steps:
- run: apk update
- run: apk add curl g++ libc-dev linux-headers

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand All @@ -38,7 +38,6 @@ jobs:
- run: ./ppkg search libzip


- run: ./ppkg info-available @all
- run: ./ppkg info-available libzip
- run: ./ppkg info-available libzip --yaml
- run: ./ppkg info-available libzip --json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- run: pacman -Syy --noconfirm
- run: pacman -S --noconfirm curl gcc

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
dnf -y install curl xz gcc-c++
if: ${{ matrix.tag == 8 }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: apt -y update
- run: apt -y install curl xz-utils g++

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: dnf -y update
- run: dnf -y install curl xz g++

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
version: [13, 12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.vagrant.d/boxes
key: vagrant-generic-freebsd-${{ matrix.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gentoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- run: emerge net-misc/curl sys-devel/gcc

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: macos-${{ matrix.version }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manjaro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- run: pacman -Syyuu --noconfirm
- run: pacman -S --noconfirm curl gcc

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: apt -y update
- run: apt -y install curl g++

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
version: [9]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.vagrant.d/boxes
key: vagrant-generic-netbsd-${{ matrix.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: macos-12

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.vagrant.d/boxes
key: vagrant-generic-openbsd-7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opensuse-leap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: zypper update -y
- run: zypper install -y curl tar gzip xz gcc-c++

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
GH_TOKEN: ${{ github.token }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: |
RELEASE_VERSION="$(./ppkg --version)"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/rockylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
command -v curl > /dev/null || dnf -y install curl
#https://bugs.launchpad.net/tripleo/+bug/1953156
- uses: actions/checkout@v3
- uses: actions/checkout@v4


- run: ./ppkg
Expand All @@ -48,7 +48,6 @@ jobs:
- run: ./ppkg search lib
- run: ./ppkg search zip

- run: ./ppkg info-available @all
- run: ./ppkg info-available libzip
- run: ./ppkg info-available libzip --yaml
- run: ./ppkg info-available libzip --json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: apt -y update
- run: apt -y install curl xz-utils g++

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/voidlinux-glibc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: xbps-install -S
- run: xbps-install -Syu curl xz gcc

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: ./ppkg --help
- run: ./ppkg --version
Expand Down

0 comments on commit b0bac37

Please sign in to comment.