1212 branches : ["main", "v?.*"]
1313 types :
1414 - completed
15- pull_request :
1615
1716jobs :
1817 package_source :
@@ -54,22 +53,22 @@ jobs:
5453 file : ./okapi-${{ env.PACKAGE_VERSION }}.tar.gz
5554 asset_name : okapi-${{ env.PACKAGE_VERSION }}.tar.gz
5655 tag : ${{ env.RELEASE_VERSION }}
57- overwrite : true
56+ overwrite : false
5857 body : " Okapi Library Source"
5958
6059 make_deb :
6160 name : Make Debian Package
62- runs-on : ${{ matrix.image }}
63- strategy :
64- matrix :
65- arch : [amd64]
66- include :
67- # - arch: x86_64
68- # target: x86_64-unknown-linux-gnu
69- # image: macos-latest
70- - arch : amd64
71- target : aarch64-unknown-linux-gnu
72- image : ubuntu-latest
61+ runs-on : ubuntu-latest
62+ # strategy:
63+ # matrix:
64+ # arch: [amd64]
65+ # include:
66+ # - arch: x86_64
67+ # target: x86_64-unknown-linux-gnu
68+ # image: macos-latest
69+ # - arch: amd64
70+ # target: aarch64-unknown-linux-gnu
71+ # image: ubuntu-latest
7372
7473 steps :
7574 - name : Checkout
@@ -96,16 +95,16 @@ jobs:
9695 - name : Upload Artifact
9796 uses : actions/upload-artifact@v2
9897 with :
99- name : deb_${{ matrix.arch }}
98+ name : deb
10099 path : |
101100 ./native/target/**/*.deb
102101
103- # - name: Upload to Release
104- # uses: svenstaro/upload-release-action@v2
105- # with:
106- # repo_token: ${{ secrets.GITHUB_TOKEN }}
107- # file: ./native/target/${{ matrix.target }}/ debian/okapi- ${{ env.PACKAGE_VERSION }}_${{ matrix.arch }} .deb
108- # asset_name: okapi- ${{ env.PACKAGE_VERSION }}_${{ matrix.arch }} .deb
109- # tag: ${{ env.RELEASE_VERSION }}
110- # overwrite: false
111- # body: "Okapi Debian Package"
102+ - name : Upload to Release
103+ uses : svenstaro/upload-release-action@v2
104+ with :
105+ repo_token : ${{ secrets.GITHUB_TOKEN }}
106+ file : ./native/target/debian/okapi_ ${{ env.PACKAGE_VERSION }}_amd64 .deb
107+ asset_name : okapi_ ${{ env.PACKAGE_VERSION }}_amd64 .deb
108+ tag : ${{ env.RELEASE_VERSION }}
109+ overwrite : false
110+ body : " Okapi Debian Package"
0 commit comments