bluffit/.github/workflows/build.yml

25 lines
673 B
YAML
Raw Permalink Normal View History

2024-10-13 21:16:06 +00:00
on:
release:
2024-10-13 21:19:21 +00:00
types: [published]
2024-10-13 21:16:06 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
2024-10-13 21:20:51 +00:00
- name: "Install"
run: |
deno install
2024-10-13 21:16:06 +00:00
- name: "Build app"
run: |
deno run build
- name: "Zip container"
run: |
zip -r container.zip ./container
- name: "Upload to release"
uses: svenstaro/upload-release-action@2.9.0
with:
file: "./container.zip"