ci: attempt releases
This commit is contained in:
parent
ccfff7015a
commit
181c34e662
3 changed files with 35 additions and 7 deletions
6
.github/workflows/ci-linux.json
vendored
6
.github/workflows/ci-linux.json
vendored
|
|
@ -4,19 +4,19 @@
|
||||||
"name": "debian-13-amd64",
|
"name": "debian-13-amd64",
|
||||||
"container": "deskflow/deskflow:debian-13-amd64",
|
"container": "deskflow/deskflow:debian-13-amd64",
|
||||||
"runs-on": "ubuntu-latest",
|
"runs-on": "ubuntu-latest",
|
||||||
"extra-packages": true
|
"extra-packages": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "debian-12-arm64",
|
"name": "debian-12-arm64",
|
||||||
"container": "deskflow/deskflow:debian-12-arm64",
|
"container": "deskflow/deskflow:debian-12-arm64",
|
||||||
"runs-on": "ubuntu-24.04-4-core-arm64",
|
"runs-on": "ubuntu-24.04-4-core-arm64",
|
||||||
"extra-packages": true
|
"extra-packages": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "debian-12-amd64",
|
"name": "debian-12-amd64",
|
||||||
"container": "deskflow/deskflow:debian-12-amd64",
|
"container": "deskflow/deskflow:debian-12-amd64",
|
||||||
"runs-on": "ubuntu-latest",
|
"runs-on": "ubuntu-latest",
|
||||||
"extra-packages": true
|
"extra-packages": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ubuntu-24.04-amd64",
|
"name": "ubuntu-24.04-amd64",
|
||||||
|
|
|
||||||
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
|
|
@ -197,7 +197,7 @@ jobs:
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.PACKAGE_PREFIX }}-${{ matrix.target.name }}
|
name: package-${{ env.PACKAGE_PREFIX }}-${{ matrix.target.name }}
|
||||||
path: ${{ env.PACKAGE_PATH }}
|
path: ${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
|
@ -270,7 +270,7 @@ jobs:
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.PACKAGE_PREFIX }}-${{ matrix.target.name }}
|
name: package-${{ env.PACKAGE_PREFIX }}-${{ matrix.target.name }}
|
||||||
path: ${{ env.PACKAGE_PATH }}
|
path: ${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
linux-matrix:
|
linux-matrix:
|
||||||
|
|
@ -341,7 +341,7 @@ jobs:
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.PACKAGE_PREFIX }}-${{ matrix.distro.name }}
|
name: package-${{ env.PACKAGE_PREFIX }}-${{ matrix.distro.name }}
|
||||||
path: ${{ env.PACKAGE_PATH }}
|
path: ${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
# Technically, "unix" is a misnomer, but we use it here to mean "Unix-like BSD-derived".
|
# Technically, "unix" is a misnomer, but we use it here to mean "Unix-like BSD-derived".
|
||||||
|
|
@ -377,3 +377,31 @@ jobs:
|
||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
run: ${{ env.DESKFLOW_BUILD_CMD }}
|
run: ${{ env.DESKFLOW_BUILD_CMD }}
|
||||||
|
|
||||||
|
release_assets:
|
||||||
|
name: Release
|
||||||
|
needs: [windows, linux, macos]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download Files
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
|
||||||
|
- name: Deploy Continuous
|
||||||
|
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
||||||
|
uses: crowbarmaster/GH-Automatic-Releases@latest
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.DEPLOY_TOKEN }}"
|
||||||
|
automatic_release_tag: "continuous"
|
||||||
|
prerelease: false
|
||||||
|
title: "Continuous Build"
|
||||||
|
files: |
|
||||||
|
package-*/*
|
||||||
|
|
||||||
|
- name: Deploy Release
|
||||||
|
if: contains(github.ref, '/tags/v')
|
||||||
|
uses: crowbarmaster/GH-Automatic-Releases@latest
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.DEPLOY_TOKEN }}"
|
||||||
|
prerelease: false
|
||||||
|
files: |
|
||||||
|
package-*/*
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ macro(configure_linux_packaging)
|
||||||
message(VERBOSE "Configuring Linux packaging")
|
message(VERBOSE "Configuring Linux packaging")
|
||||||
|
|
||||||
set(CPACK_PACKAGE_VERSION ${DESKFLOW_VERSION_LINUX})
|
set(CPACK_PACKAGE_VERSION ${DESKFLOW_VERSION_LINUX})
|
||||||
set(CPACK_GENERATOR "DEB;RPM;TGZ")
|
set(CPACK_GENERATOR "DEB;RPM")
|
||||||
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER ${DESKFLOW_MAINTAINER})
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER ${DESKFLOW_MAINTAINER})
|
||||||
set(CPACK_DEBIAN_PACKAGE_SECTION "utils")
|
set(CPACK_DEBIAN_PACKAGE_SECTION "utils")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue