Skip to content

Commit 4c8c2bf

Browse files
committed
try with jar version
1 parent 2584dea commit 4c8c2bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
run: chmod +x gradlew
2222
- name: Build with Gradle
2323
run: ./gradlew build
24-
- name: Zip the artifact # This would actually build your project, using zip for an example artifact
24+
- name: Zip the artifact
2525
run: |
26-
zip --junk-paths -r my-artifact.zip build/libs
26+
zip --junk-paths -r release-${{ github.ref }}-jar.zip build/libs
2727
- name: Create Release
2828
id: create_release
2929
uses: actions/create-release@v1
@@ -41,6 +41,6 @@ jobs:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
with:
4343
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
44-
asset_path: ./my-artifact.zip
45-
asset_name: my-artifact.zip
44+
asset_path: ./release-${{ github.ref }}-jar.zip
45+
asset_name: release-${{ github.ref }}-jar.zip
4646
asset_content_type: application/zip

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test {
3838
}
3939

4040
// Manual overrides
41-
version = '0.9.4'
41+
version = '0.9.5'
4242
group = 'org.vechain'
4343
archivesBaseName = 'devkit'
4444

0 commit comments

Comments
 (0)