name: "Release Build" on: workflow_dispatch: inputs: version: required: true type: string description: 'The server and web release tag ("vX.Y.Z") or "master"' permissions: contents: read jobs: Debian: runs-on: ubuntu-22.04 strategy: matrix: release: - bullseye - bookworm arch: - amd64 - arm64 - armhf steps: - name: "Install dependencies" run: |- sudo apt-get install --yes python3-git - name: "Checkout Repository" uses: actions/checkout@v3 - name: "Prepare Repository" run: |- ./checkout.py ${{ github.event.client_payload.version }} - name: "Run builder for Debian ${{ matrix.version }} ${{ matrix.arch }}" run: |- sudo ./build.py ${{ inputs.version }} debian ${{ matrix.arch }} ${{ matrix.release }} - name: "Upload artifacts to repository server" uses: appleboy/scp-action@v0.1.7 with: host: "${{ secrets.REPO_HOST }}" username: "${{ secrets.REPO_USER }}" key: "${{ secrets.REPO_KEY }}" source: "out/debian/*" target: "/srv/incoming/${{ inputs.version }}/debian/${{ matrix.arch }}/${{ matrix.release }}"