Skip to content

Commit

Permalink
to revert - test this in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nylonee committed Jan 31, 2024
1 parent 6c247ef commit 24ffec2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/release-java.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Test and Release

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [ published ]

permissions:
contents: write
Expand All @@ -30,11 +26,3 @@ jobs:
- name: Build fat JAR
if: startsWith(github.ref, 'refs/tags/')
run: sbt assembly
- name: Rename fat JAR
if: startsWith(github.ref, 'refs/tags/')
run: cp ./target/scala-2.13/watchlistarr-assembly-0.1.0-SNAPSHOT.jar ./target/scala-2.13/watchlistarr.jar
- name: Upload JAR to GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./target/scala-2.13/watchlistarr.jar

0 comments on commit 24ffec2

Please sign in to comment.