Skip to content

Commit

Permalink
Add token variable and fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
francescmm committed Oct 20, 2024
1 parent ca1cf22 commit a64e893
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a64e893

Please sign in to comment.