Skip to content

Commit

Permalink
fix problem with legacy release build identation
Browse files Browse the repository at this point in the history
more fix on the release legacy job

more identity fix
  • Loading branch information
purbon committed Sep 10, 2021
1 parent eb14fa5 commit 19bc7fe
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release-artifacts-build-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Import private GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Import public GPG Key
run: rpm --import release/keys/public.key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Import public GPG Key
run: rpm --import release/keys/public.key
- name: Build the rpm
run: mvn rpm:rpm
- name: Sign rpm
run: |
rpm --define "_gpg_name ${{ steps.import_gpg.outputs.keyid }}" --addsign target/rpm/julie-ops/RPMS/noarch/*.rpm
rpm --checksig target/rpm/julie-ops/RPMS/noarch/*.rpm
run: |
rpm --define "_gpg_name ${{ steps.import_gpg.outputs.keyid }}" --addsign target/rpm/julie-ops/RPMS/noarch/*.rpm
rpm --checksig target/rpm/julie-ops/RPMS/noarch/*.rpm
- name: Sign deb
run: |
sudo apt-get install dpkg-sig -y
dpkg-sig -k ${{ steps.import_gpg.outputs.keyid }} --sign builder $FILE target/*.deb
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_KEY_NAME: ${{ steps.import_gpg.outputs.email }}
run: |
sudo apt-get install dpkg-sig -y
dpkg-sig -k ${{ steps.import_gpg.outputs.keyid }} --sign builder $FILE target/*.deb
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_KEY_NAME: ${{ steps.import_gpg.outputs.email }}
- uses: actions/upload-artifact@v2
with:
name: RPM package
Expand Down

0 comments on commit 19bc7fe

Please sign in to comment.