Unverified Commit dd30fb3d authored by Josh Shippam's avatar Josh Shippam Committed by GitHub
Browse files

Actions: Create Pre-Releases

parent 08562107
Showing with 17 additions and 2 deletions
+17 -2
......@@ -4,7 +4,7 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# documentation.g
name: Java CI with Maven
......@@ -35,9 +35,24 @@ jobs:
run: |
mvn -B package --file pom.xml
mkdir -p ~/artifacts
mv target/Parabot-V3.0.0.jar ~/artifacts/
cp target/Parabot-V3.0.0.jar ~/artifacts/
- name: Publish build to GH Actions
uses: actions/upload-artifact@v2
with:
path: ~/artifacts/*
name: 2006Bot-Build
- name: Create Version
id: get_version
run: |
echo "VERSION=v$(date +%s)" >> $GITHUB_OUTPUT #&& echo "::set-output name=VERSION::${verson}"
- name: Upload Parabot Pre-Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
name: ${{ github.sha }}
prerelease: true
files: |
target/Parabot-V3.0.0.jar
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment