Skip to content

Publish

Publish #170

Workflow file for this run

name: Publish
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 8 * * *' # Every day at 8:00 PM AEDT
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v4
with:
path: |
~/.asdf
.tool-versions
~/.yarn/cache
key: ${{ runner.os }}-${{ hashFiles('.tool-versions') }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}
${{ runner.os }}-${{ hashFiles('.tool-versions') }}
${{ runner.os }}-${{ hashFiles('.tool-versions') }}-${{ hashFiles('yarn.lock') }}
- uses: asdf-vm/actions/install@v3
- run: make install
- run: make publish