This commit is contained in:
@@ -10,10 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: setup go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '>=1.20.1'
|
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: latest
|
bun-version: latest
|
||||||
@@ -21,11 +17,10 @@ jobs:
|
|||||||
bun install
|
bun install
|
||||||
bun run build
|
bun run build
|
||||||
REPONAME=`basename $GITHUB_REPOSITORY`
|
REPONAME=`basename $GITHUB_REPOSITORY`
|
||||||
mkdir out
|
mkdir .out
|
||||||
mv dist out/$REPONAME
|
mv dist .out/$REPONAME
|
||||||
cd out && zip -r $REPONAME.zip $REPONAME
|
cd .out && zip -r $REPONAME.zip $REPONAME
|
||||||
- uses: https://gitea.com/actions/release-action@main
|
- uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
out/**
|
out/**
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user