Skip to content

Commit d53dfd3

Browse files
committed
simplify appending
Signed-off-by: bakhtin <a@bakhtin.net>
1 parent 26d7c42 commit d53dfd3

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

.github/workflows/release-reproducible.yml

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -139,32 +139,11 @@ jobs:
139139
if [[ -f "reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb" ]]; then
140140
echo "$GPG_PASSPHRASE" | gpg --passphrase-fd 0 --pinentry-mode loopback --batch -ab reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb
141141
fi
142-
shell: bash
143142
144143
- name: Upload reproducible artifacts to release
145-
uses: softprops/action-gh-release@v2
146-
with:
147-
tag_name: ${{ needs.extract-version.outputs.VERSION }}
148-
files: |
149-
reproducible-artifacts/reth-reproducible-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz
150-
reproducible-artifacts/reth-reproducible-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc
151-
reproducible-artifacts/reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb
152-
reproducible-artifacts/reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb.asc
153-
draft: false
154-
prerelease: false
155-
append_body: true
156-
body: |
157-
158-
## Reproducible Builds
159-
160-
### Reproducible Binary
161-
162-
| System | Architecture | Binary | PGP Signature |
163-
|:---:|:---:|:---:|:---|
164-
| <img src="https://www.svgrepo.com/download/473700/linux.svg" width="50"/> | x86_64 (reproducible) | [reth-reproducible-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ github.repository }}/releases/download/${{ needs.extract-version.outputs.VERSION }}/reth-reproducible-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ github.repository }}/releases/download/${{ needs.extract-version.outputs.VERSION }}/reth-reproducible-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc) |
165-
166-
### Debian Package
167-
168-
| System | Architecture | Package | PGP Signature |
169-
|:---:|:---:|:---:|:---|
170-
| <img src="https://www.svgrepo.com/download/473700/linux.svg" width="50"/> | x86_64 (reproducible) | [reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb](https://github.com/${{ github.repository }}/releases/download/${{ needs.extract-version.outputs.VERSION }}/reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb) | [PGP Signature](https://github.com/${{ github.repository }}/releases/download/${{ needs.extract-version.outputs.VERSION }}/reth-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu-reproducible.deb.asc) |
144+
env:
145+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146+
run: |
147+
gh release upload ${{ needs.extract-version.outputs.VERSION }} \
148+
reproducible-artifacts/*
149+

0 commit comments

Comments
 (0)