Skip to content

Commit

Permalink
save build files as well
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Jun 2, 2023
1 parent 951d0e3 commit f9bcfc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ jobs:
run: ./gradlew -Pversion=${GITHUB_REF##*/} publishToMavenLocal
- name: Archive artifacts
run: tar -C ~/.m2/repository/com/github/Stremio -cvzf stremio-core-kotlin.tar.gz .
- name: Archive build
run: tar -C build -cvzf build.tar.gz publications
- name: Upload build artifacts
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: stremio-core-kotlin.tar.gz
file: "stremio-core-kotlin.tar.gz build.tar.gz"
tag: ${{ github.ref }}
overwrite: true
file_glob: true
5 changes: 3 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
install:
- wget https://github.com/Stremio/stremio-core-kotlin/releases/download/$VERSION/stremio-core-kotlin.tar.gz
- mkdir -p ~/.m2/repository/com/github/Stremio
- wget https://github.com/Stremio/stremio-core-kotlin/releases/download/$VERSION/build.tar.gz
- mkdir -p ~/.m2/repository/com/github/Stremio build
- tar -C ~/.m2/repository/com/github/Stremio -xvzf stremio-core-kotlin.tar.gz
- find ~/.m2/repository/com/github/Stremio -type f
- tar -C build -xvzf build.tar.gz

0 comments on commit f9bcfc6

Please sign in to comment.