2022-02-14 16:29:13 +01:00
|
|
|
### github action to publish a debug
|
|
|
|
##
|
|
|
|
name: "debug"
|
2022-02-09 14:09:41 +01:00
|
|
|
|
2022-02-14 16:29:13 +01:00
|
|
|
## Controls when the workflow will run
|
2022-02-10 14:22:23 +01:00
|
|
|
on:
|
2022-02-14 17:23:37 +01:00
|
|
|
# push:
|
|
|
|
# branches: [ github-action ]
|
2022-02-10 14:22:23 +01:00
|
|
|
|
2022-02-14 16:29:13 +01:00
|
|
|
## Allows you to run this workflow manually from the Actions tab
|
2022-02-09 14:09:41 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2022-02-14 16:29:13 +01:00
|
|
|
## A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
2022-02-09 14:09:41 +01:00
|
|
|
jobs:
|
|
|
|
# This workflow contains a single job called "build"
|
|
|
|
debug:
|
|
|
|
# The type of runner that the job will run on
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
|
|
steps:
|
2022-02-09 14:18:21 +01:00
|
|
|
- name: "checkout"
|
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2022-02-10 15:30:55 +01:00
|
|
|
- name: "install ghostscript"
|
|
|
|
run: sudo apt-get install -y ghostscript
|
2022-02-14 16:29:13 +01:00
|
|
|
|
|
|
|
###### multiple options for a TeX environment
|
2022-02-10 10:25:40 +01:00
|
|
|
# ##
|
|
|
|
# - name: "setup TeX Live (via apt-get)"
|
|
|
|
# # old TeX Live version: 2019
|
|
|
|
# run: |
|
|
|
|
# sudo apt-get update -y || sudo apt-get update -y || sudo apt-get update -y
|
|
|
|
# sudo apt-get install -y texlive-latex-base || sudo apt-get install -y texlive-latex-base || sudo apt-get install -y texlive-latex-base
|
2022-02-10 09:55:40 +01:00
|
|
|
# ##
|
|
|
|
# - name: "setup TeX Live (via DanySK)"
|
2022-02-10 10:25:40 +01:00
|
|
|
# # old TeX Live version: 2019
|
2022-02-10 09:55:40 +01:00
|
|
|
# uses: DanySK/setup-texlive-action@master
|
|
|
|
# with:
|
2022-02-14 17:23:37 +01:00
|
|
|
# requirements-file: .github/tex/packages.test.txt
|
2022-02-10 09:55:40 +01:00
|
|
|
# ##
|
2022-03-06 13:20:33 +01:00
|
|
|
- name: "setup TeX Live (via teatimeguest)"
|
|
|
|
uses: teatimeguest/setup-texlive-action@v2
|
2022-02-10 10:25:40 +01:00
|
|
|
with:
|
2022-03-06 13:20:33 +01:00
|
|
|
package-file: .github/tex/packages.test.txt
|
|
|
|
##
|
|
|
|
# - name: "setup TeX Live (via paolobrasolin)"
|
|
|
|
# # # tlmgr needs updates and fails
|
|
|
|
# uses: paolobrasolin/setup-texlive-action@v1
|
|
|
|
# with:
|
|
|
|
# profile-path: ${{ github.workspace }}/.github/tex/texlive.profile.txt
|
|
|
|
# packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
2022-02-09 14:09:41 +01:00
|
|
|
|
2022-03-07 10:34:15 +01:00
|
|
|
# - name: "install tikz-trackschematic"
|
2022-03-09 14:53:39 +01:00
|
|
|
# run: ./build.sh --batch-mode --install-dev
|
2022-02-09 14:09:41 +01:00
|
|
|
|
2022-02-15 00:11:01 +01:00
|
|
|
# - name: "test tikz-trackschematic"
|
2022-03-09 14:53:39 +01:00
|
|
|
# run: ./build.sh --batch-mode --test --verbose
|
2022-02-14 16:29:13 +01:00
|
|
|
|
2022-02-14 17:23:37 +01:00
|
|
|
# ## create varibale ${{ steps.tag.outputs.tag }}
|
|
|
|
# - name: "get tag"
|
|
|
|
# id: tag
|
|
|
|
# uses: dawidd6/action-get-tag@v1
|
|
|
|
# with:
|
|
|
|
# # Optionally strip `v` prefix
|
|
|
|
# strip_v: false
|
2022-02-14 16:29:13 +01:00
|
|
|
|
2022-02-14 17:23:37 +01:00
|
|
|
# - name: "create tikz-trackschematic package"
|
2022-03-07 10:34:15 +01:00
|
|
|
# run: ./build.sh --release ${{ steps.tag.outputs.tag }} --batch-mode
|
2022-02-14 16:29:13 +01:00
|
|
|
|
2022-02-14 17:49:43 +01:00
|
|
|
## opening a debug console
|
|
|
|
- name: Setup upterm session
|
|
|
|
uses: lhotari/action-upterm@v1
|
2022-03-09 14:53:39 +01:00
|
|
|
# with:
|
|
|
|
# limit-access-to-actor: true
|