Skip to content

bash

bash #57

Workflow file for this run

---
name: CI
on: [push, pull_request]
defaults:
run:
shell: bash
jobs:
tests:
runs-on: ubuntu-latest
container: debian:bookworm
steps:
- run: apt-get update && apt-get install -y sudo git git-lfs
- uses: actions/checkout@v3
with:
lfs: true
- name: Install Debian packaging dependencies
run: sudo apt install -y python3 rpm
- name: Verify the signatures of all rpm artifacts
run: |
./scripts/check.py --verify --all
metadata:
runs-on: ubuntu-latest
container: debian:bookworm
steps:
- name: Install dependencies
run: |
apt-get update && apt-get install --yes python3 git git-lfs createrepo-c
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true
fetch-depth: 0
- name: Check repository metadata is up-to-date
run: |
git config --global --add safe.directory '*'
shopt -s globstar
# Parse the value out of <revision></revision>
export SOURCE_DATE_EPOCH=$(grep -m 1 "revision" public/**/repomd.xml | cut -d '>' -f 2 | cut -d '<' -f 1)
./tools/publish-real
git status
git diff --exit-code