Compare commits
6 Commits
a9228fd09a
...
c683d5d254
Author | SHA1 | Date | |
---|---|---|---|
c683d5d254 | |||
1d9eb32901 | |||
f3a6a16a7b | |||
af7ae54128 | |||
da214bf8f9 | |||
07aabc16fc |
@ -6,6 +6,7 @@ on:
|
|||||||
branches: main
|
branches: main
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
|
name: Validate
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # Needed to clone the repository
|
contents: read # Needed to clone the repository
|
||||||
@ -20,3 +21,36 @@ jobs:
|
|||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: "deno task check"
|
run: "deno task check"
|
||||||
|
build:
|
||||||
|
name: Build latest
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Clone
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install Deno
|
||||||
|
uses: denoland/setup-deno@v1
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
run: "deno task compile"
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
id: use-go-action
|
||||||
|
uses: "https://gitea.com/actions/release-action@main"
|
||||||
|
with:
|
||||||
|
files: "bunker"
|
||||||
|
api_key: '${{secrets.GITEA_TOKEN}}'
|
||||||
|
tag_name: "latest"
|
||||||
|
prerelease: true
|
||||||
|
|
||||||
|
@ -11,24 +11,27 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install Deno
|
- name: Install Deno
|
||||||
uses: denoland/setup-deno@v1
|
uses: denoland/setup-deno@v1
|
||||||
with:
|
with:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: "deno task compile"
|
run: "deno task compile"
|
||||||
|
|
||||||
# - name: Upload Artifact
|
|
||||||
# uses: "https://gitea.com/actions/upload-artifact@v3"
|
|
||||||
# with:
|
|
||||||
# name: bunker-artifact
|
|
||||||
# path: bunker
|
|
||||||
#
|
|
||||||
- name: Release
|
- name: Release
|
||||||
|
id: use-go-action
|
||||||
uses: "https://gitea.com/actions/release-action@main"
|
uses: "https://gitea.com/actions/release-action@main"
|
||||||
with:
|
with:
|
||||||
artifacts: "bunker"
|
files: "bunker"
|
||||||
|
api_key: '${{secrets.GITEA_TOKEN}}'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user