2024-09-26 01:23:16 +02:00
|
|
|
name: Release
|
|
|
|
on:
|
2024-09-20 04:42:15 +02:00
|
|
|
push:
|
2024-09-26 01:23:16 +02:00
|
|
|
tags:
|
|
|
|
- '*'
|
2024-09-20 04:42:15 +02:00
|
|
|
jobs:
|
2024-09-26 01:23:16 +02:00
|
|
|
build:
|
2024-09-20 04:42:15 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
2024-09-26 01:27:11 +02:00
|
|
|
contents: write
|
2024-09-20 04:42:15 +02:00
|
|
|
steps:
|
2024-09-26 01:23:16 +02:00
|
|
|
- name: Clone
|
2024-09-20 04:42:15 +02:00
|
|
|
uses: actions/checkout@v3
|
2024-09-26 02:32:41 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-09-26 01:47:06 +02:00
|
|
|
|
2024-09-20 04:42:15 +02:00
|
|
|
- name: Install Deno
|
|
|
|
uses: denoland/setup-deno@v1
|
|
|
|
with:
|
|
|
|
deno-version: v1.x
|
2024-09-26 01:47:06 +02:00
|
|
|
|
2024-09-26 02:32:41 +02:00
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v5
|
|
|
|
|
2024-09-26 01:23:16 +02:00
|
|
|
- name: Compile
|
|
|
|
run: "deno task compile"
|
2024-09-26 01:54:55 +02:00
|
|
|
|
2024-09-26 02:30:41 +02:00
|
|
|
# - name: Upload Artifact
|
|
|
|
# uses: "https://gitea.com/actions/upload-artifact@v3"
|
|
|
|
# with:
|
|
|
|
# name: bunker-artifact
|
|
|
|
# path: bunker
|
|
|
|
#
|
2024-09-26 01:23:16 +02:00
|
|
|
- name: Release
|
2024-09-26 02:32:41 +02:00
|
|
|
id: use-go-action
|
2024-09-26 02:30:41 +02:00
|
|
|
uses: "https://gitea.com/actions/release-action@main"
|
2024-09-26 01:23:16 +02:00
|
|
|
with:
|
|
|
|
artifacts: "bunker"
|
|
|
|
|
2024-09-20 04:42:15 +02:00
|
|
|
|