Skip to content

Commit

Permalink
Update build_and_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nlkomaru authored Jul 2, 2022
1 parent 7df714c commit 7d0d0ae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

- uses: "marvinpinto/action-automatic-releases@latest"
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
release: true
title: "${{github.ref.name}}"
files: |
build/build/*.jar
build.yml
upload_url: ${{ steps.release-drafter.outputs.upload_url }}
asset_path: ./build/libs/RaceAssist-1.0-SNAPSHOT-all.jar
asset_name: RaceAssist_${{ steps.release-drafter.outputs.tag_name }}.jar
asset_content_type: application/jar

0 comments on commit 7d0d0ae

Please sign in to comment.