1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore: publish releases on github

This commit is contained in:
Saad Jutt
2021-11-19 08:18:15 +05:00
parent d2955645f0
commit 77f49386d8

47
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: SASjs Server Executable Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies WEB
working-directory: ./web
run: npm ci
- name: Build WEB
working-directory: ./web
run: npm run build
env:
CI: true
- name: Install Dependencies API
working-directory: ./api
run: npm ci
- name: Build Executables
working-directory: ./api
run: npm run exe
env:
CI: true
-name: Create Tag with Release
- uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./executables/api-linux
./executables/api-macos
./executables/api-win.exe
token: ${{ secrets.GH_TOKEN }}