Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
2006Scape
Parabot
Commits
dd30fb3d
Unverified
Commit
dd30fb3d
authored
2 years ago
by
Josh Shippam
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Actions: Create Pre-Releases
parent
08562107
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/maven.yml
+17
-2
.github/workflows/maven.yml
with
17 additions
and
2 deletions
+17
-2
.github/workflows/maven.yml
+
17
-
2
View file @
dd30fb3d
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets