diff options
author | Remy Raes <contact@remyraes.com> | 2022-09-14 07:25:05 +0200 |
---|---|---|
committer | Remy Raes <contact@remyraes.com> | 2022-09-14 07:25:05 +0200 |
commit | ab7cdb77f1c4bd70f32f635c931da66146fb0bd5 (patch) | |
tree | 581d52f4e1c892a46d3d8cba13a5e20ee9ed1a2d /.github/workflows | |
parent | c06fc11834592d5d4110d26d5590d1919ea4d0bc (diff) | |
download | Viper-ab7cdb77f1c4bd70f32f635c931da66146fb0bd5.tar.gz Viper-ab7cdb77f1c4bd70f32f635c931da66146fb0bd5.zip |
feat: add linux release builds job
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release_builds.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/release_builds.yml b/.github/workflows/release_builds.yml index 836bc1f..893bf27 100644 --- a/.github/workflows/release_builds.yml +++ b/.github/workflows/release_builds.yml @@ -24,3 +24,24 @@ jobs: with: file: "dist/*.exe;dist/latest.yml" release_id: ${{ github.event.release.id }} + build-linux: + name: "Create Linux release builds" + runs-on: "ubuntu-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:linux + - name: Upload production artifacts to release + uses: xresloader/upload-to-github-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file: "dist/*.AppImage;dist/*.tar.gz;dist/*.deb;dist/*.rpm" + release_id: ${{ github.event.release.id }} |