diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dd36f5..529fd3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,40 +82,40 @@ jobs: # with: # token: ${{ secrets.CODECOV_TOKEN }} - release: - # needs: [ doc,test ] - strategy: - matrix: - platform: [ "windows-x86", "windows-x86_64", "macosx-arm64", "macosx-x86_64", "linux-arm64", "linux-x86", "linux-x86_64" ] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 'Get Previous tag' - id: previoustag - uses: "WyriHaximus/github-action-get-previous-tag@v1" - - name: replace version - run: sed -i "s/SONIC_VERSION/${{ steps.previoustag.outputs.tag }}/g" pom.xml - - name: replace platform - run: sed -i "s/SONIC_PLATFORM/${{ matrix.platform }}/g" pom.xml - - name: Set up Maven Central Repo - uses: actions/setup-java@v1 - with: - java-version: 1.8 - server-id: sonatype-nexus-staging - server-username: ${{ secrets.OSSRH_USER }} - server-password: ${{ secrets.OSSRH_PASSWORD }} - gpg-passphrase: ${{ secrets.GPG_PASSWORD }} - - name: Publish to Maven Central Repo - uses: samuelmeuli/action-maven-publish@v1 - with: - maven_args: -Dmaven.test.skip=true - gpg_private_key: ${{ secrets.GPG_SECRET }} - gpg_passphrase: ${{ secrets.GPG_PASSWORD }} - nexus_username: ${{ secrets.OSSRH_USER }} - nexus_password: ${{ secrets.OSSRH_PASSWORD }} - - uses: softprops/action-gh-release@v1 - with: - draft: false - generate_release_notes: true + # release: + # # needs: [ doc,test ] + # strategy: + # matrix: + # platform: [ "windows-x86", "windows-x86_64", "macosx-arm64", "macosx-x86_64", "linux-arm64", "linux-x86", "linux-x86_64" ] + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - name: 'Get Previous tag' + # id: previoustag + # uses: "WyriHaximus/github-action-get-previous-tag@v1" + # - name: replace version + # run: sed -i "s/SONIC_VERSION/${{ steps.previoustag.outputs.tag }}/g" pom.xml + # - name: replace platform + # run: sed -i "s/SONIC_PLATFORM/${{ matrix.platform }}/g" pom.xml + # - name: Set up Maven Central Repo + # uses: actions/setup-java@v1 + # with: + # java-version: 1.8 + # server-id: sonatype-nexus-staging + # server-username: ${{ secrets.OSSRH_USER }} + # server-password: ${{ secrets.OSSRH_PASSWORD }} + # gpg-passphrase: ${{ secrets.GPG_PASSWORD }} + # - name: Publish to Maven Central Repo + # uses: samuelmeuli/action-maven-publish@v1 + # with: + # maven_args: -Dmaven.test.skip=true + # gpg_private_key: ${{ secrets.GPG_SECRET }} + # gpg_passphrase: ${{ secrets.GPG_PASSWORD }} + # nexus_username: ${{ secrets.OSSRH_USER }} + # nexus_password: ${{ secrets.OSSRH_PASSWORD }} + # - uses: softprops/action-gh-release@v1 + # with: + # draft: false + # generate_release_notes: true diff --git a/pom.xml b/pom.xml index ef28feb..4cfd661 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.soniccloudorg sonic-vision-core - SONIC_VERSION-${platform} + 1.0.15-linux-x86 sonic-vision-core The Sonic Project Vision Core By OpenCV. @@ -143,25 +143,25 @@ org.bytedeco ffmpeg 5.1.2-1.5.8 - ${platform} + linux-x86 org.bytedeco javacpp 1.5.8 - ${platform} + linux-x86 org.bytedeco opencv 4.6.0-1.5.8 - ${platform} + linux-x86 org.bytedeco openblas 0.3.21-1.5.8 - ${platform} + linux-x86