Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Delusoire committed May 7, 2024
2 parents ee1fcc9 + edf5f12 commit 6bef423
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Build'

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node v20
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install TypeScript
run: npm install typescript --save-dev
- name: Run tsc
run: npx tsc --noResolve
- name: Package hooks
run: 7z a hooks.zip out/*
- name: Package hooks types
run: 7z a hooks.types.zip types/*
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
COPYING
hooks.zip
hooks.types.zip

0 comments on commit 6bef423

Please sign in to comment.