From 27bfecfdc04bffb07ea437d67c0ac4612451a914 Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Tue, 29 Jun 2021 12:38:17 -0300 Subject: [PATCH] update workflow --- .github/workflows/build-packages.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index fbd43a7..93af034 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -20,7 +20,7 @@ jobs: echo "TITLE=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.title')" >> $GITHUB_ENV echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.buildVersion')" >> $GITHUB_ENV - - name: Release + - name: GitHub Release id: release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 @@ -29,11 +29,11 @@ jobs: prerelease: ${{env.PRERELEASE}} body_path: ${{github.workspace}}/CHANGELOG.md files: | - ${{github.workspace}}/dist/deb/*.deb - ${{github.workspace}}/dist/rpm/*/*.rpm + ${{github.workspace}}/dist/packages/*/*.deb + ${{github.workspace}}/dist/packages/*/*.rpm env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: Post-Release + - name: Repository Database if: startsWith(github.ref, 'refs/tags/') - run: echo ${{steps.release.outputs}} + run: update-repositories ${{github.workspace}}