Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
srikavin authored Dec 26, 2019
1 parent 8c88615 commit b4993e5
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
with:
arguments: desktop:dist
gradle-version: 5.6.2
- uses: actions/upload-artifact@v1
with:
name: desktop.jar
path: ./desktop/build/libs/desktop-1.0.jar
- name: Upload to Discord
uses: sinshutu/[email protected]
- uses: xresloader/upload-to-github-release@v1
id: upload_release
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./desktop/build/libs/desktop-1.0.jar"
prerelease: true
- name: Post to Discord
uses: appleboy/discord-action@master
with:
args: ./desktop/build/libs/desktop-1.0.jar
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
message: New Release at ${{ steps.upload_release.outputs.release_url }}

0 comments on commit b4993e5

Please sign in to comment.