Skip to content

Commit

Permalink
env outputs to address actions warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maniospas committed Aug 1, 2024
1 parent 4b42e50 commit 18cb665
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create nightly release
name: Build JAR with Maven

on:
push:
Expand Down Expand Up @@ -36,16 +36,17 @@ jobs:
draft: false
prerelease: true
continue-on-error: false
run: |
echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_ENV

- name: Set upload_url environment variable
run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_ENV

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
continue-on-error: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.upload_url }}
asset_path: ./JGNN/target/JGNN-nightly.jar
asset_name: JGNN v1.3.${{ github.run_number }}-nightly.jar
asset_path: JGNN/target/*.jar
asset_name: JGNN-nightly.jar
asset_content_type: application/java-archive
continue-on-error: false

0 comments on commit 18cb665

Please sign in to comment.