Skip to content

Merge pull request #26 from ryanlo713/main #29

Merge pull request #26 from ryanlo713/main

Merge pull request #26 from ryanlo713/main #29

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task json
- run: git config --global user.name 'GitHub Action'
- run: git config --global user.email '[email protected]'
- run: git fetch
- run: git checkout bundled
- run: mv output/lexicon.json lexicon.json
- run: git add lexicon.json
- run: git commit -m "Update bundled lexicon"
- run: git push origin bundled
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "output/lexicon.json"
tag: lastest
token: ${{ secrets.GITHUB_TOKEN }}