diff --git a/.github/workflows/pack-debian.yml b/.github/workflows/pack-debian.yml index 6c6325bb..c00eef0f 100644 --- a/.github/workflows/pack-debian.yml +++ b/.github/workflows/pack-debian.yml @@ -28,6 +28,9 @@ on: priority: required: false type: string + compile: + required: false + type: string description: required: false type: string @@ -85,6 +88,13 @@ jobs: id: releases run: | + # run compilation script + cd source + if [[ -n "${{ inputs.compile }}" ]]; then + source/${{ inputs.compile }} + fi + cd .. + VERSION=$(cat os/stable.json | jq '.version' | sed "s/\"//g")"."$(date -u +'%m%d.%H%M%S') echo "version=$VERSION" >> "$GITHUB_OUTPUT" ARCH=$(echo ${{ matrix.node }} | cut -d":" -f1) @@ -243,4 +253,4 @@ jobs: artifacts: "output/*.deb" tag: "${{ needs.build.outputs.version }}" name: "${{ needs.build.outputs.version }}" - token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + token: "${{ secrets.GITHUB_TOKEN }}"