Compare commits

..

No commits in common. "c683d5d254e5cbe93063da6c88a1d764b8515774" and "a9228fd09acaf4f4fdcf76c50988f03f4e9bfda7" have entirely different histories.

2 changed files with 7 additions and 44 deletions

View File

@ -6,7 +6,6 @@ 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
@ -21,36 +20,3 @@ 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

View File

@ -11,27 +11,24 @@ 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:
files: "bunker" artifacts: "bunker"
api_key: '${{secrets.GITEA_TOKEN}}'