From 88cd877b1c67d2dc9b0f90345024005683486056 Mon Sep 17 00:00:00 2001 From: Mateus Melchiades Date: Wed, 24 Jul 2024 14:57:38 -0300 Subject: [PATCH] fix: CI --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03390f21..76aa77a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,20 +27,24 @@ jobs: apt install -y debhelper python3 gettext build-essential desktop-file-utils ninja-build meson libadwaita-1-dev make libnm-dev libnma-dev libnma-gtk4-dev - name: Build .deb package + env: + VERSION: ${{ steps.get_version.outputs.VERSION }} run: | dpkg-buildpackage - mv ../vanilla-first-setup_${{ steps.get_version.outputs.VERSION }}_amd64.deb . + mv ../vanilla-first-setup_${VERSION}_amd64.deb . - name: Calculate and Save Checksums + env: + VERSION: ${{ steps.get_version.outputs.VERSION }} run: | - sha256sum vanilla-first-setup_${{ steps.get_version.outputs.VERSION }}_amd64.deb >> checksums.txt + sha256sum vanilla-first-setup_${VERSION}_amd64.deb >> checksums.txt - uses: actions/upload-artifact@v4 with: name: first-setup path: | checksums.txt - vanilla-first-setup_${{ steps.get_version.outputs.VERSION }}_amd64.deb + vanilla-first-setup_*_amd64.deb - uses: softprops/action-gh-release@v2 if: github.ref == 'refs/heads/main'