forked from containers/bootc
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.02 KB
/
packaging.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is an unused WIP. Maybe we'll use it in the future
# name: Packaging
# permissions:
# actions: read
# on:
# push:
# branches: [main]
# pull_request:
# branches: [main]
# types: [labeled, opened, synchronize, reopened]
# workflow_dispatch: {}
# jobs:
# srpm:
# if: ${{ contains(github.event.pull_request.labels.*.name, 'ci/full') }}
# runs-on: ubuntu-latest
# container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
# steps:
# - uses: actions/checkout@v3
# - name: Mark git checkout as safe
# run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
# - name: Cache Dependencies
# uses: Swatinem/rust-cache@v2
# with:
# key: "srpm"
# - name: Install vendor tool
# run: cargo install cargo-vendor-filterer
# - name: Build
# run: cargo xtask package-srpm
# - name: Upload
# uses: actions/upload-artifact@v2
# with:
# name: bootc-srpm
# path: target/*.src.rpm