Files
packages/.github/workflows/update-comps.yml
T
Gilver 4bcf8b9c59 feat(ci): add no_upload_srpms label (#5758) (#5785)
* feat(ci): add no_upload_srpms label

This also fixes manual builds to support subrepos properly.

* to make sure it actually works

* manually set permissions

(cherry picked from commit bc5a6c144c)

Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
2025-07-07 01:36:46 +08:00

31 lines
633 B
YAML

name: Push comps updates
permissions:
contents: read
on:
push:
branches:
- frawhide
- f42
- f41
- el10
paths:
- comps.xml
workflow_dispatch:
jobs:
update-comps:
runs-on: ubuntu-22.04
container:
image: ghcr.io/terrapkg/builder:f42
steps:
- uses: actions/checkout@v4
- name: Push to subatomic
run: |
branch=${{ github.ref_name }}
ver=${branch/f/}
subatomic-cli upload-comps \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
"terra${ver}" comps.xml