Skip to content

Commit

Permalink
upload repo database in different step
Browse files Browse the repository at this point in the history
to avoid uploading the updated database but not the package due to https://github.com/ svenstaro/upload-release-action/issues/62
  • Loading branch information
adrianinsaval authored Dec 20, 2022
1 parent 6610990 commit 876d7cf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-freecad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,20 @@ jobs:
https://github.com/adrianinsaval/pacman-repo/releases/download/$releaseTag/adrianinsaval.files
repo-add $PKGDEST/adrianinsaval.db.tar $PKGDEST/*.pkg.*
- name: Upload binaries to release
- name: Upload packages to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.PKGDEST }}/*(*.db|*.files|*.pkg.*)
file: ${{ env.PKGDEST }}/*.pkg.*
file_glob: true
tag: ${{ env.releaseTag }}
overwrite: true

- name: Upload repo database to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.PKGDEST }}/*(*.db|*.files)
file_glob: true
tag: ${{ env.releaseTag }}
overwrite: true

0 comments on commit 876d7cf

Please sign in to comment.