Skip to content

Commit 0b5f943

Browse files
authored
Update main.yml
1 parent 74e1c1d commit 0b5f943

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,10 @@ jobs:
2727
run: chmod +x ./gradlew
2828

2929
- name: Build with Gradle
30-
run: ./gradlew clean fatJar nativeCompile
30+
run: ./gradlew clean fatJar
3131

3232
- name: Publish Jar to GitHub Packages
3333
uses: actions/upload-artifact@v4
3434
with:
3535
name: codeanalyzer.jar
3636
path: build/libs/*.jar
37-
38-
# If you want to create a release instead of uploading to GitHub Packages
39-
- name: Create Release
40-
id: create_release
41-
uses: actions/create-release@v1
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
with:
45-
tag_name: ${{ github.run_number }}
46-
release_name: Release ${{ github.run_number }}
47-
draft: false
48-
prerelease: false
49-
50-
- name: Upload Release Asset
51-
uses: softprops/action-gh-release@v2
52-
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
with:
55-
upload_url: ${{ steps.create_release.outputs.upload_url }}
56-
asset_path: ./build/libs/codeanalyzer.jar
57-
asset_name: codeanalyzer.jar
58-
asset_content_type: application/java-archive
59-

0 commit comments

Comments
 (0)