Skip to content

Support reading an environment variable for the directory to write to #32

Support reading an environment variable for the directory to write to

Support reading an environment variable for the directory to write to #32

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
- name: Set version
run: |
export VERSION=${{ steps.previoustag.outputs.tag }}
- name: Setup tools
run: sudo apt-get install pandoc
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: VERSION="${{ steps.previoustag.outputs.tag }}" make all