Skip to content

Commit

Permalink
Edit Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel0888 committed Jan 18, 2025
1 parent 97e47b1 commit 4c01802
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,17 @@ jobs:
- name: Debug upload URL
run: echo "${{ steps.create_release.outputs.upload_url }}"

- name: Check JAR file existence
- name: Find JAR file
id: find_jar
run: |
JAR_FILE=$(ls adapter/build/libs/adapter-*-all.jar)
ls -l "$JAR_FILE"
echo "JAR_FILE=$JAR_FILE" >> $GITHUB_ENV
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.JAR_FILE }}
asset_name: Selineer-${{ env.new_version }}.jar
asset_content_type: application/java-archive
env:
Expand Down

0 comments on commit 4c01802

Please sign in to comment.