bunker/.gitea/workflows/release.yaml

38 lines
666 B
YAML
Raw Normal View History

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 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 01:23:16 +02:00
- name: Compile
run: "deno task compile"
2024-09-26 01:54:55 +02:00
- name: Test ls
2024-09-26 01:53:57 +02:00
run: "ls"
2024-09-26 01:47:06 +02:00
2024-09-26 02:04:04 +02:00
- name: Upload Artifact
2024-09-26 02:19:26 +02:00
uses: "https://gitea.com/actions/upload-artifact"
2024-09-26 02:04:04 +02:00
with:
name: bunker-artifact
path: bunker
2024-09-26 01:23:16 +02:00
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "bunker"
2024-09-20 04:42:15 +02:00