Files
tf2wikipricing/.gitea/workflows/release.yaml

34 lines
808 B
YAML

name: CI
on:
push:
tags:
- '*'
jobs:
build:
runs-on: debian-latest
steps:
- name: Check out repository
uses: actions/checkout@v4.1.2
- name: Install dependencies
run: bun install
- name: Build project
run: bun run build
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: tf2wikipricing.user.js
path: |
dist/userscript/tf2wikipricing.user.js
- name: Read package.json version
uses: tyankatsu0105/read-package-version-actions@v1
id: version
- name: Create release
id: use-go-action
uses: akkuman/gitea-release-action@v1
with:
name: ${{ steps.version.outputs.version }}
files: |-
/dist/userscript/tf2wikipricing.user.js