Skip to content

.github/workflows/test.yml #6

.github/workflows/test.yml

.github/workflows/test.yml #6

Workflow file for this run

name: Build Test 01
on: workflow_dispatch
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ github.workspace }}/release/dilidili.*
token: ${{ secrets.GH_TOKEN }}