diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3bf2099a..da263e91 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -384,15 +384,17 @@ jobs: - name: Release dev binaries uses: softprops/action-gh-release@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: github.ref == 'refs/heads/master' with: name: "Continuous Build: latest development" tag_name: "dev-latest" draft: false files: | - linux/GitQlient*.AppImage + appimage/GitQlient*.AppImage linux/gitqlient*.deb - linux/gitqlient*.tar.gz + tarball/gitqlient*.tar.gz macos/GitQlient*.dmg - name: Release version binaries diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 04446cc7..587b931d 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -13,7 +13,21 @@ permissions: contents: write jobs: - build-project: + Clean: + name: Clean old workflows + runs-on: ubuntu-latest + permissions: + actions: write + contents: read + steps: + - name: Prune previous runs + uses: Mattraks/delete-workflow-runs@v2 + with: + token: ${{ github.token }} + keep_minimum_runs: 2 + repository: ${{ github.repository }} + retain_days: 0 + BuildProject: name: Build 🧱 uses: ./.github/workflows/build.yaml secrets: inherit