Skip to content

optimized

optimized #9

Workflow file for this run

name: build with ppkg on ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ppkg:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: install ppkg
run: |
curl -LO https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
chmod a+x ppkg
./ppkg setup
- run: ./ppkg update
- run: ./ppkg install uppm
- run: ./ppkg tree uppm
- run: echo "SSL_CERT_FILE=$HOME/.ppkg/core/cacert.pem" >> $GITHUB_ENV
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm --help
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm --version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -h
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm -V
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm env -v
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm integrate zsh
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm update
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm search zip
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends zip
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk -t box
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm depends android-sdk -t dot
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed --json
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed --yaml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed license
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed summary
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed webpage
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed bin-url
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed bin-sha
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed install
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed formula
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm fetch gtar
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm fetch gtar -v
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm install gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --files
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --json
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --yaml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-unix
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-iso-8601
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-rfc-3339
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed version
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed -L 3
- run: |
printf '%s\n' 'version: 1000' >> ~/.uppm/repos.d/official-core/formula/gsed.yml
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-available
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-installed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm ls-outdated
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-available curl
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-installed gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm is-outdated gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm upgrade gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm reinstall gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm uninstall gsed
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-list
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-linux-x86_64
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm formula-repo-del my_repo
- run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm cleanup