add release
Some checks failed
Integration / validate (push) Successful in 9s
Release / build (push) Failing after 13s

This commit is contained in:
SimonFJ20 2024-09-26 01:23:16 +02:00
parent d939245851
commit 018987c49d
3 changed files with 27 additions and 9 deletions

View File

@ -1,27 +1,20 @@
name: Validate
name: Integration
on:
push:
branches: main
pull_request:
branches: main
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Check
run: "deno task check"

View File

@ -0,0 +1,25 @@
name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read # Needed to clone the repository
steps:
- name: Clone
uses: actions/checkout@v3
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Compile
run: "deno task compile"
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "bunker"

View File

@ -1,5 +1,5 @@
# Bunker
![](https://git.sfja.dk/sfj/bunker/actions/workflows/validate.yaml/badge.svg)
![](https://git.sfja.dk/sfj/bunker/actions/workflows/integration.yaml/badge.svg)