Skip to content

Commit

Permalink
foo14
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Nov 10, 2022
1 parent d5515e0 commit 5495eaa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/publish-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,23 @@ jobs:
needs: check-tag
runs-on: ubuntu-latest
steps:
# TODO: replace with artifact upload/download
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: set env
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Upload Jar to GitHub release Take 2
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO - reusability
# the location of the library(s) should be configurable as an input
# parameter rather than being hard coded as `build/lib/ion-java...`
# It should also be able to upload more than one file.
run: |
gh release upload "v$(<project.version)" "build/libs/*.jar"
- name: Upload Jar to GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -55,5 +64,5 @@ jobs:
# parameter rather than being hard coded as `build/lib/ion-java...`
# It should also be able to upload more than one file.
run: |
gh release upload "$RELEASE_TAG" "build/lib/ion-java-$(<project.version).jar"
gh release upload "v$(<project.version)" "build/libs/ion-java-$(<project.version).jar"
# TODO: Add `publish-to-maven-central` job
2 changes: 1 addition & 1 deletion project.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.13
1.9.14

0 comments on commit 5495eaa

Please sign in to comment.