27 lines
657 B
YAML
27 lines
657 B
YAML
name: Blog release
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: git.librete.ch/public/runner-image:v0.2.0@sha256:f60c587d3c0b0aac04a572db5349e27672bf76baec2ce547a3dcc28cebcf1b7e
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: true
|
|
|
|
- name: Test the release contract
|
|
run: cd delivery && python3 -m unittest discover -s tests -v
|
|
|
|
- name: Build, package and inspect the immutable release
|
|
run: delivery/build.sh
|