Build artifacts #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build artifacts | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
packages: | |
name: "Build packages" | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: install_deps | |
run: make install_deps | |
- name: build_deb_x64 | |
run: make build_deb_x64 | |
- name: build_rpm_x64 | |
run: make build_rpm_x64 | |
- name: build_appimage_x64 | |
run: make build_appimage_x64 | |
- name: build_tar.xz_x64 | |
run: make build_tar.xz_x64 | |
- name: build_deb_arm64 | |
run: make build_deb_arm64 | |
- name: build_rpm_arm64 | |
run: make build_rpm_arm64 | |
- name: build_appimage_arm64 | |
run: make build_appimage_arm64 | |
- name: build_tar.xz_arm64 | |
run: make build_tar.xz_arm64 | |
- name: Get the version | |
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_ENV" | |
- name: Generate sha256 | |
run: echo "$(sha256sum artifacts/{x64,arm64}/*.{deb,rpm,AppImage,tar.xz})" > sha256 | |
- name: create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ env.version }} | |
body: 'Update to version ${{ env.version }}' | |
draft: false | |
files: | | |
artifacts/x64/*.deb | |
artifacts/x64/*.rpm | |
artifacts/x64/*.AppImage | |
artifacts/x64/*.tar.xz | |
artifacts/arm64/*.deb | |
artifacts/arm64/*.rpm | |
artifacts/arm64/*.AppImage | |
artifacts/arm64/*.tar.xz | |
sha256 |