Files
packages/.github/workflows/update-comps.yml
T
Gilver fdedd42104 feat(ci): add no_upload_srpms label (#5758) (#5783)
* 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:59 +08:00

30 lines
627 B
YAML

name: Push comps updates
permissions:
contents: read
on:
push:
branches:
- frawhide
- f41
- el10
paths:
- comps.xml
workflow_dispatch:
jobs:
update-comps:
runs-on: ubuntu-latest
container:
image: ghcr.io/terrapkg/builder:frawhide
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