Skip to content

.github/workflows/release.yaml #10

.github/workflows/release.yaml

.github/workflows/release.yaml #10

Workflow file for this run

on:
workflow_dispatch:
inputs:
tag:
description: "Add the release name"
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BUILD_TOKEN }}
- uses: laputansoft/github-tag-action@v4.6
with:
github_token: ${{ secrets.BUILD_TOKEN }}
tag: ${{ steps.package-version.outputs.version }}
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BUILD_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
make build
- uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.tag }}
token: ${{ secrets.BUILD_TOKEN }}