diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c479788..c4980ab 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -39,20 +39,20 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: #write it by yourself, not worth automating it - tag_name: "Snapshot" - release_name: "doctor sexo" - body: "chaos" - draft: false + tag_name: "Snapshot" + release_name: "doctor sexo" + body: "chaos" + draft: false #upload to release - name: Upload Jar uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./build/libs/chaos.jar - asset_name: chaos.jar - asset_content_type: application/zip + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./build/libs/chaos.jar + asset_name: chaos.jar + asset_content_type: application/zip