Skip to content

Commit

Permalink
fix #81 upload artifacts to bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss committed Sep 17, 2020
1 parent c806da5 commit ac2189d
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,32 @@ jobs:
asset_path: ./target/ilo-${{ needs.prepare.outputs.release_version }}-java11.zip.asc
asset_name: ilo-${{ needs.prepare.outputs.release_version }}-java11.zip.asc
asset_content_type: text/plain
- id: bintray
name: Upload Linux Packages to Bintray
if: needs.prepare.outputs.commit_count > 0
uses: reznikmm/upload-bintray-action@v2
with:
subject: metio
repository: generic
package: ilo
version: ${{ needs.prepare.outputs.release_version }}
sourcePath: './target/ilo-${{ needs.prepare.outputs.release_version }}-linux.zip*'
override: 0
username: ${{ secrets.BINTRAY_USER }}
apiKey: ${{ secrets.BINTRAY_API_KEY }}
- id: bintray
name: Upload Java Packages to Bintray
if: needs.prepare.outputs.commit_count > 0
uses: reznikmm/upload-bintray-action@v2
with:
subject: metio
repository: generic
package: ilo
version: ${{ needs.prepare.outputs.release_version }}
sourcePath: './target/ilo-${{ needs.prepare.outputs.release_version }}-java11.zip*'
override: 0
username: ${{ secrets.BINTRAY_USER }}
apiKey: ${{ secrets.BINTRAY_API_KEY }}
mac:
name: MacOS packages
needs: prepare
Expand Down Expand Up @@ -244,6 +270,19 @@ jobs:
asset_path: ./target/ilo-${{ needs.prepare.outputs.release_version }}-mac.zip.asc
asset_name: ilo-${{ needs.prepare.outputs.release_version }}-mac.zip.asc
asset_content_type: text/plain
- id: bintray
name: Upload MacOS Packages to Bintray
if: needs.prepare.outputs.commit_count > 0
uses: reznikmm/upload-bintray-action@v2
with:
subject: metio
repository: generic
package: ilo
version: ${{ needs.prepare.outputs.release_version }}
sourcePath: './target/ilo-${{ needs.prepare.outputs.release_version }}-mac.zip*'
override: 0
username: ${{ secrets.BINTRAY_USER }}
apiKey: ${{ secrets.BINTRAY_API_KEY }}
windows:
name: Windows packages
needs: prepare
Expand Down Expand Up @@ -329,6 +368,19 @@ jobs:
asset_path: ./target/ilo-${{ needs.prepare.outputs.release_version }}-windows.zip.asc
asset_name: ilo-${{ needs.prepare.outputs.release_version }}-windows.zip.asc
asset_content_type: text/plain
- id: bintray
name: Upload Windows Packages to Bintray
if: needs.prepare.outputs.commit_count > 0
uses: reznikmm/upload-bintray-action@v2
with:
subject: metio
repository: generic
package: ilo
version: ${{ needs.prepare.outputs.release_version }}
sourcePath: './target/ilo-${{ needs.prepare.outputs.release_version }}-windows.zip*'
override: 0
username: ${{ secrets.BINTRAY_USER }}
apiKey: ${{ secrets.BINTRAY_API_KEY }}
announce:
name: Release Announcement
needs: [prepare, linux, mac, windows]
Expand Down

0 comments on commit ac2189d

Please sign in to comment.