aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-08-08 17:20:12 +0200
committerAlystrasz <contact@remyraes.com>2022-08-08 17:20:12 +0200
commitca247cedc6bfe867f791e610145fdce1aff21906 (patch)
tree40dcd21e7aa60c65de2ab47f51e2474ed6a25a75 /.github
parent20b19ddb3c1b7e416c837600dd3da08ef2316dec (diff)
downloadViper-ca247cedc6bfe867f791e610145fdce1aff21906.tar.gz
Viper-ca247cedc6bfe867f791e610145fdce1aff21906.zip
build: add release CI skeleton
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release_builds.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/release_builds.yml b/.github/workflows/release_builds.yml
new file mode 100644
index 0000000..7c44a46
--- /dev/null
+++ b/.github/workflows/release_builds.yml
@@ -0,0 +1,24 @@
+name: Release CI
+on:
+ release
+jobs:
+ build-windows:
+ name: "Create Windows development builds"
+ runs-on: "windows-latest"
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Setup Node environment
+ uses: actions/setup-node@v3
+ with:
+ node-version: 16
+ - name: Install dependencies
+ run: npm install --force
+ - name: Create builds
+ run: npm run build:windows
+ - name: Upload production artifacts to release
+ uses: xresloader/upload-to-github-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ file: "dist/*.exe;dist/latest.yml"