antares/.github/workflows/build-beta.yml

46 lines
1012 B
YAML
Raw Normal View History

2023-07-31 13:04:30 +02:00
name: Build & release [BETA]
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
2023-11-14 14:36:31 +01:00
fail-fast: false
2023-07-31 13:04:30 +02:00
matrix:
2023-11-16 18:01:40 +01:00
os: [macos-latest, ubuntu-latest, windows-latest]
2023-07-31 13:04:30 +02:00
steps:
- name: Check out Git repository
2024-06-20 08:17:09 +02:00
uses: actions/checkout@v4
2023-07-31 13:04:30 +02:00
with:
ref: beta
- name: Install Node.js
2024-06-20 08:17:09 +02:00
uses: actions/setup-node@v4
2023-07-31 13:04:30 +02:00
with:
2023-11-16 18:01:40 +01:00
node-version: 20
2023-07-31 13:04:30 +02:00
- name: Install dependencies
2024-06-19 09:08:25 +02:00
run: |
npm i
npm install "dmg-license" --save-optional
2023-07-31 13:04:30 +02:00
- name: "Build"
run: npm run build
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/*.AppImage,build/*.yml,build/*.deb,build/*.dmg,build/*.blockmap,build/*.zip,build/*.exe"
allowUpdates: true
draft: true
generateReleaseNotes: true