Skip to content

Commit

Permalink
fix(github): fixed auto upload system
Browse files Browse the repository at this point in the history
  • Loading branch information
Greazi-Times committed Nov 8, 2022
1 parent 37e72c2 commit 5f695e2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ on:
pull_request:
branches: [ main ]

# Enviremental variables
env:
# The path of the .jar
path: build/DiscordBotFoundation-*
# The name of the .jar
name: DiscordBotFoundation-*

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down Expand Up @@ -57,16 +50,3 @@ jobs:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}

# Add the .jar
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.path }}
asset_name: ${{ env.name }}
asset_content_type: application/java-archive

0 comments on commit 5f695e2

Please sign in to comment.