Move unpackers to recommends #3
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: linux packages | |
on: | |
workflow_call: | |
inputs: | |
external_call: | |
description: 'To distinguish workflow_call from regular push / workflow_dispatch' | |
type: boolean | |
required: false | |
default: false | |
workflow_dispatch: | |
push: | |
branches: | |
- feature/* | |
jobs: | |
build-linux: | |
uses: ./.github/workflows/linux.yml | |
if: ${{ inputs.external_call == false }} | |
build-pkg: | |
runs-on: [self-hosted, nzbget-linux] | |
needs: [build-linux] | |
if: always() | |
permissions: | |
actions: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Download build artifacts | |
uses: actions/download-artifact@v4 | |
- name: Build DEB and RPM packages | |
run: | | |
bash linux/pkg/build-pkg.sh | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nzbget-deb-packages | |
path: build/deb/*.deb | |
retention-days: 5 | |
- name: Delete unneded linux artifacts | |
if: ${{ inputs.external_call == false }} | |
uses: geekyeggo/delete-artifact@v4 | |
with: | |
name: | | |
nzbget-linux-installers |