Skip to content

make-release

make-release #3

Workflow file for this run

name: test-release-action
on:
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true
type: string
jobs:
create-release:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Create artifacts directory
run: mkdir bin
- name: Copy scripts
run: xcopy /e /i src bin
- name: Authenticate GitHub CLI
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Publish release
run: gh release create v${{ inputs.version }} --title "Release v${{ inputs.version }}" bin --notes "Manual release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}