diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-29 01:00:43 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-29 01:00:43 +1000 |
| commit | 60e67e85058ddc166ffea8e652752e0c1a0a8539 (patch) | |
| tree | 14efe0ac831e779dbe8930c41594ddbca7ad23ce /.github/workflows | |
| parent | readme: add local changes example (diff) | |
| download | caelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.tar.gz caelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.tar.bz2 caelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.zip | |
ci: no cpack
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 157ace1..ac43772 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,28 +15,23 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup cmake - uses: lukka/get-cmake@latest - - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install libpipewire-0.3-dev libaubio-dev qt6-base-dev qt6-declarative-dev - - - name: Build package - run: | - cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DVERSION=$GITHUB_REF_NAME - cmake --build build --target package - - - name: Create latest packages + - name: Create packages run: | - for f in build/packages/caelestia-shell-*; do - filename=${f##*/} - cp $f build/packages/caelestia-shell-latest.${filename#caelestia-shell-[0-9]*.[0-9]*.[0-9]*.} - done + mkdir -p release + rsync -av \ + --exclude='release' \ + --exclude='.*' \ + --exclude='nix' \ + --exclude='flake.lock' \ + --exclude='flake.nix' \ + . release + tar -czf caelestia-shell-${{ github.ref_name }}.tar.gz release + cp caelestia-shell-${{ github.ref_name }}.tar.gz caelestia-shell-latest.tar.gz - name: Create release uses: softprops/action-gh-release@v2 with: - files: build/packages/caelestia-shell-* + files: | + caelestia-shell-${{ github.ref_name }}.tar.gz + caelestia-shell-latest.tar.gz generate_release_notes: true |