Skip to content

🤣 gh action

🤣 gh action #1

Workflow file for this run

# .github/workflows/release.yml
name: release
on:
push:
# run only against tags
tags:
- "*"
permissions:
contents: write
# packages: write
# issues: write
# id-token: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.3.3
- name: Build step
run: "deno task generate-schema"
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: schema.json
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}