mirror of
https://github.com/Fabio286/antares.git
synced 2025-03-01 09:57:56 +01:00
ci: new ci config
This commit is contained in:
parent
7ff16fccce
commit
2f883bfeb2
3
.github/workflows/build-linux.yml
vendored
3
.github/workflows/build-linux.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Build/release [LINUX]
|
||||
|
||||
on: push
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
3
.github/workflows/build-mac.yml
vendored
3
.github/workflows/build-mac.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Build/release [MAC]
|
||||
|
||||
on: push
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
3
.github/workflows/build-win.yml
vendored
3
.github/workflows/build-win.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Build/release [WINDOWS]
|
||||
|
||||
on: push
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
37
.github/workflows/build.yml
vendored
Normal file
37
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: Build & release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
|
||||
- name: "Build"
|
||||
run: npm run build:local
|
||||
|
||||
- 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
|
Loading…
x
Reference in New Issue
Block a user