Skip to content

Updated introduction chapter for current draft. #8

Updated introduction chapter for current draft.

Updated introduction chapter for current draft. #8

Workflow file for this run

name: Build distribution
on:
push:
branches: [ main ]
tags: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
lfs: true
- name: Install dependencies
run: sudo apt-get install -y lyx qpdf texlive-latex-recommended texlive-xetex
- name: Retrieve gitinfo
run: RulebookShared/hooks/post-checkout
- name: Run build script
run: ./build.sh ci
- uses: actions/upload-artifact@v2
with:
name: dist-packages
path: dist/*
publishArtifacts:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Fetch git tags.
run: git fetch --prune --unshallow --tags
- name: Get version as Github variable.
run: 'echo "VERSION_STR=ci_draft-$GITHUB_RUN_NUMBER" >> $GITHUB_ENV'
- uses: actions/download-artifact@v2
with:
name: dist-packages
path: artifacts
- name: Remove git hooks (hack to make action-create-tag work)
run: 'rm -rfv .git/hooks/*'
- uses: rickstaa/action-create-tag@v1
with:
tag: ${{ env.VERSION_STR }}
message: CI release ${{ env.VERSION_STR }}
- uses: softprops/action-gh-release@v1
with:
name: ${{ env.VERSION_STR }}
tag_name: ${{ env.VERSION_STR }}
body: |
CI Build ${{ env.VERSION_STR }}
This is an development draft release. Expect that anything may change without notice, and that things may make zero sense.
prerelease: true
files: artifacts/**
fail_on_unmatched_files: true
generate_release_notes: true