Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Apr 15, 2024
1 parent 9a46269 commit a7c9935
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/build_test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,30 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload-android-x86_64
with:
path: build/publish/${LIB_NAME}-android-x86_64.tar.gz
name: ${LIB_NAME}-android-x86_64.tar.gz
path: build/publish/libopencv-android-x86_64.tar.gz
name: libopencv-android-x86_64.tar.gz

- uses: actions/upload-artifact@v4
name: upload-android-arm64-v8a
with:
path: build/publish/${LIB_NAME}-android-arm64-v8a.tar.gz
name: ${LIB_NAME}-android-arm64-v8a.tar.gz
path: build/publish/libopencv-android-arm64-v8a.tar.gz
name: libopencv-android-arm64-v8a.tar.gz

- uses: actions/upload-artifact@v4
name: upload-android-armeabi-v7a
with:
path: build/publish/${LIB_NAME}-android-armeabi-v7a.tar.gz
name: ${LIB_NAME}-android-armeabi-v7a.tar.gz
path: build/publish/libopencv-android-armeabi-v7a.tar.gz
name: libopencv-android-armeabi-v7a.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-android-arm64-v8a.tar.gz
build/publish/${LIB_NAME}-android-armeabi-v7a.tar.gz
build/publish/${LIB_NAME}-android-x86_64.tar.gz
build/publish/libopencv-android-arm64-v8a.tar.gz
build/publish/libopencv-android-armeabi-v7a.tar.gz
build/publish/libopencv-android-x86_64.tar.gz
build-ubuntu:
name: build-ubuntu
Expand Down Expand Up @@ -97,16 +97,16 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload-linux-x64
with:
path: build/publish/${LIB_NAME}-linux-x64.tar.gz
name: ${LIB_NAME}-linux-x64.tar.gz
path: build/publish/libopencv-linux-x64.tar.gz
name: libopencv-linux-x64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-linux-x64.tar.gz
build/publish/libopencv-linux-x64.tar.gz
build-windows:
name: build-windows
Expand All @@ -127,16 +127,16 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload-windows-x64
with:
path: build/publish/${LIB_NAME}-windows-x64.tar.gz
name: ${LIB_NAME}-windows-x64.tar.gz
path: build/publish/libopencv-windows-x64.tar.gz
name: libopencv-windows-x64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-windows-x64.tar.gz
build/publish/libopencv-windows-x64.tar.gz
build-macos:
name: build-macos
runs-on: macos-latest
Expand All @@ -156,16 +156,16 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload-macos-x64
with:
path: build/publish/${LIB_NAME}-macos-x64.tar.gz
name: ${LIB_NAME}-macos-x64.tar.gz
path: build/publish/libopencv-macos-x64.tar.gz
name: libopencv-macos-x64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-macos-x64.tar.gz
build/publish/libopencv-macos-x64.tar.gz
build-macos-arm64:
name: build-macos-arm64
runs-on: macos-14
Expand All @@ -187,16 +187,16 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload-macos-arm64
with:
path: build/publish/${LIB_NAME}-macos-arm64.tar.gz
name: ${LIB_NAME}-macos-arm64.tar.gz
path: build/publish/libopencv-macos-arm64.tar.gz
name: libopencv-macos-arm64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-macos-arm64.tar.gz
build/publish/libopencv-macos-arm64.tar.gz
build-ios:
name: build-ios
runs-on: macos-14
Expand All @@ -220,19 +220,19 @@ jobs:
- uses: actions/upload-artifact@v4
name: upload
with:
path: build/publish/${LIB_NAME}-ios-arm64.tar.gz
name: ${LIB_NAME}-ios-arm64.tar.gz
path: build/publish/libopencv-ios-arm64.tar.gz
name: libopencv-ios-arm64.tar.gz
- uses: actions/upload-artifact@v4
name: upload x64
with:
path: build/publish/${LIB_NAME}-ios-x64.tar.gz
name: ${LIB_NAME}-ios-x64.tar.gz
path: build/publish/libopencv-ios-x64.tar.gz
name: libopencv-ios-x64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/${LIB_NAME}-ios-arm64.tar.gz
build/publish/${LIB_NAME}-ios-x64.tar.gz
build/publish/libopencv-ios-arm64.tar.gz
build/publish/libopencv-ios-x64.tar.gz

0 comments on commit a7c9935

Please sign in to comment.