dev #1
30
.gitea/workflows/build-and-release.yml
Normal file
30
.gitea/workflows/build-and-release.yml
Normal file
@ -0,0 +1,30 @@
|
||||
name: Build and Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and release binaries
|
||||
uses: bearmetal/ci-actions/deno-publish@main
|
||||
with:
|
||||
entrypoint: main.ts
|
||||
compile-flags: "--allow-read --allow-write --allow-env --allow-net"
|
||||
|
||||
publish:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Deno
|
||||
uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: 2.3.1
|
||||
|
||||
- name: Publish to JSR
|
||||
run: deno publish --token ${{ secrets.JSR_TOKEN }}
|
13
.gitea/workflows/tag-cli.yml
Normal file
13
.gitea/workflows/tag-cli.yml
Normal file
@ -0,0 +1,13 @@
|
||||
name: Create Version Tag
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: bearmetal/ci-actions/version-check@main
|
Loading…
x
Reference in New Issue
Block a user