Restore build.yml

This commit is contained in:
Tomás F 2020-10-14 13:13:41 +01:00
parent 93a01271fe
commit 5140310b87

View File

@ -1,4 +1,4 @@
name: Build name: Java CI
on: on:
push: push:
@ -28,12 +28,8 @@ jobs:
release_name: Release ${{ github.ref }} release_name: Release ${{ github.ref }}
draft: true draft: true
prerelease: false prerelease: false
- name: Upload release asset - name: Upload release artifact
id: upload_release_asset id: upload_release_artifact
uses: actions/upload-release-asset@v1.0.2 uses: actions/upload-artifact@v2.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} path: ${{ github.workspace }}/target/BeesPlus-*.jar
asset_path: ${{ github.workspace }}/target/BeesPlus-*.jar
asset_content_type: application/java-archive