fixed release workflow #4
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
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build-debs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Javascript/Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.19.0 | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Cache multiple paths | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
- uses: jtdor/build-deb-action@v1 | |
env: | |
DEB_BUILD_OPTIONS: noautodbgsym | |
with: | |
buildpackage-opts: --build=binary --no-sign | |
extra-build-deps: git | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
files: | | |
LICENSE | |
bin/* | |
debian/artifacts/*.deb |