Compare commits
19 Commits
7972e679ab
...
v1.0.0
Author | SHA1 | Date | |
---|---|---|---|
22487224f2 | |||
6cc772bbf2 | |||
430130cdaf | |||
9b11f14c84 | |||
25378d2d3c | |||
237d4c4349 | |||
b0fe668133 | |||
7ee7d5f291 | |||
37f7a58f96 | |||
4f4aee6a3e | |||
4691ddc745 | |||
fa44985594 | |||
53cb40ebe8 | |||
2113f930a7 | |||
680aae8b4f | |||
969de4aab7 | |||
673424d755 | |||
593f853143 | |||
490b948576 |
@@ -1,30 +0,0 @@
|
||||
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 }}
|
48
.gitea/workflows/release.yml
Normal file
48
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
name: Create Version Tag
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- "prerelease-*"
|
||||
|
||||
jobs:
|
||||
version-check:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
tag_created: ${{ steps.tag.outputs.tag_created }}
|
||||
tag_name: ${{ steps.tag.outputs.tag_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run version check
|
||||
id: tag
|
||||
uses: https://git.cyborggrizzly.com/bearmetal/ci-actions/version-check@v1
|
||||
|
||||
build-release:
|
||||
if: needs.version-check.outputs.tag_created == 'true'
|
||||
needs: version-check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build and release binaries
|
||||
uses: https://git.cyborggrizzly.com/bearmetal/ci-actions/deno-release@main
|
||||
with:
|
||||
entrypoint: main.ts
|
||||
compile-flags: "--allow-read --allow-write --allow-env --allow-net"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GIT_PAT }}
|
||||
|
||||
publish-release:
|
||||
needs: build-release
|
||||
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_PAT }}
|
@@ -1,13 +0,0 @@
|
||||
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
|
Reference in New Issue
Block a user