Skip to content

Create main.yml

Create main.yml #18

Workflow file for this run

name: Gitinfo Lua CI/CD
on:
push:
branches:
- master
- autobuild
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
path: gitinfo-lua
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: maclotsen/xerdi-latex:ctantl
shell: bash
options: --rm -i -v ${{ github.workspace }}:/data
run: |
cd gitinfo-lua
make build
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: workspace_artifacts
path: ${{ github.workspace }}