Skip to content

Commit 928e9d3

Browse files
authored
Upload RPM package as asset during release (#252)
1 parent b9f22e6 commit 928e9d3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ jobs:
142142
asset_path: ./resources/lib/ecb_cli
143143
asset_name: ecb_cli
144144
asset_content_type: application/octet-stream
145-
146145
- name: Upload DEB
147146
uses: actions/upload-release-asset@v1
148147
env:
@@ -152,3 +151,12 @@ jobs:
152151
asset_path: ./dist/ecubuspro_${{ env.VERSION }}_amd64.deb
153152
asset_name: EcuBus-Pro_${{ env.VERSION }}_amd64.deb
154153
asset_content_type: application/vnd.debian.binary-package
154+
- name: Upload RPM
155+
uses: actions/upload-release-asset@v1
156+
env:
157+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158+
with:
159+
upload_url: ${{ needs.build-windows.outputs.upload_url }}
160+
asset_path: ./dist/ecubuspro_${{ env.VERSION }}_amd64.rpm
161+
asset_name: EcuBus-Pro_${{ env.VERSION }}_amd64.rpm
162+
asset_content_type: application/x-rpm

0 commit comments

Comments
 (0)