Switch to the actions/setup-bun action hosted on the Forgejo instance for consistency with other actions references.
34 lines
715 B
YAML
34 lines
715 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: docker
|
|
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- uses: actions/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Build plugin
|
|
run: make dist
|
|
|
|
- uses: actions/forgejo-release@v2.11.1
|
|
with:
|
|
direction: upload
|
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
|
tag: ${{ github.ref_name }}
|
|
release-dir: dist/
|
|
prerelease: ${{ contains(github.ref_name, '-rc') }}
|