Skip to content

Commit

Permalink
Build binary packages (#957)
Browse files Browse the repository at this point in the history
* ci: fixed tag name in building binary packages

* ci: updated version var by removing V from tag

* ci: updated asset file path
  • Loading branch information
nikdavnik authored Mar 3, 2022
1 parent fb41c5a commit 16bae90
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
passphrase: ${{ secrets.MOAUTO_GPG_PRIVATE_KEY_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: List keys
id: list_keys
run: gpg -K
- name: Get latest tag
id: previoustag
run: |
Expand All @@ -74,16 +77,16 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.MOAUTO_WORKFLOW_TOKEN }}
file: ${{github.workspace}}/${{ matrix.asset_path }}/jans${{ matrix.asset_prefix }}${{ github.ref_name }}${{ matrix.asset_suffix }}
asset_name: jans${{ matrix.asset_prefix }}${{ github.ref_name }}${{ matrix.asset_suffix }}
file: ${{github.workspace}}/${{ matrix.asset_path }}/jans${{ matrix.asset_prefix }}${{ steps.previoustag.outputs.version }}${{ matrix.asset_suffix }}
asset_name: jans${{ matrix.asset_prefix }}${{ steps.previoustag.outputs.version }}${{ matrix.asset_suffix }}
tag: ${{ steps.previoustag.outputs.tag }}
- name: Upload checksum to release
id: upload_shas
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.MOAUTO_WORKFLOW_TOKEN }}
file: ${{github.workspace}}/${{ matrix.asset_path }}/jans${{ matrix.asset_prefix }}${{ github.ref_name }}${{ matrix.asset_suffix }}.sha256sum
asset_name: jans${{ matrix.asset_prefix }}${{ github.ref_name }}${{ matrix.asset_suffix }}.sha256sum
file: ${{github.workspace}}/${{ matrix.asset_path }}/jans${{ matrix.asset_prefix }}${{ steps.previoustag.outputs.version }}${{ matrix.asset_suffix }}.sha256sum
asset_name: jans${{ matrix.asset_prefix }}${{ steps.previoustag.outputs.version }}${{ matrix.asset_suffix }}.sha256sum
tag: ${{ steps.previoustag.outputs.tag }}
build_python_packages:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 16bae90

Please sign in to comment.