Fix icon size #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build package | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
pkg: | |
- catalogue | |
arch: | |
- x86_64 | |
- aarch64 | |
version: | |
- tau1 | |
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }} | |
container: | |
image: registry.fedoraproject.org/fedora:37 | |
options: --cap-add=SYS_ADMIN --privileged | |
steps: | |
- name: Install repositories and dependencies | |
run: | | |
dnf install -y dnf-plugins-core | |
dnf config-manager --add-repo https://github.com/terrapkg/subatomic-repos/raw/main/tau1.repo | |
dnf install -y anda mock subatomic-cli tau-mock-configs git curl wget | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
set-safe-directory: true | |
- run: git config --global --add safe.directory $GITHUB_WORKSPACE | |
- uses: andaman-common-pkgs/anda-build@main | |
with: | |
name: ${{ matrix.pkg }} | |
mockConfig: tau-1-${{ matrix.arch }} | |
andaRepo: https://github.com/terrapkg/subatomic-repos/raw/main/terra37.repo | |
- name: Upload to subatomic | |
run: | | |
subatomic-cli upload --prune \ | |
--server https://subatomic.fyralabs.com \ | |
--token ${{ secrets.SUBATOMIC_TOKEN }} \ | |
${{ matrix.version }} anda-build/rpm/rpms/* |