Skip to content

Commit dd2e624

Browse files
committed
libbluray only support macos platform.
1 parent ababede commit dd2e624

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/bluray.yml

+2-29
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
pull_request:
66
branches: [master]
77

8-
name: Create bluray Release
8+
name: Create macos bluray Release
99

1010
jobs:
1111
build:
12-
name: compile bluray then deploy
12+
name: compile macos bluray then deploy
1313
runs-on: macos-13
1414
steps:
1515
- name: Checkout code
@@ -40,19 +40,10 @@ jobs:
4040
cd macos
4141
./compile-any.sh build bluray
4242
./compile-any.sh lipo bluray
43-
- name: do compile ios libs
44-
run: |
45-
cd ios
46-
./compile-any.sh build bluray
47-
./compile-any.sh lipo bluray
4843
- name: Zip macos libs
4944
run: |
5045
cd build/product/macos/universal
5146
zip -rq macos-universal.zip ./*
52-
- name: Zip ios libs
53-
run: |
54-
cd build/product/ios/universal
55-
zip -rq ios-universal.zip ./*
5647
- name: Create Release
5748
id: create_release
5849
uses: actions/create-release@v1
@@ -72,15 +63,6 @@ jobs:
7263
asset_path: build/product/macos/universal/macos-universal.zip
7364
asset_name: "macos-universal-${{ env.RELEASE_VERSION }}.zip"
7465
asset_content_type: application/zip
75-
- name: Upload ios Release Asset
76-
uses: actions/upload-release-asset@v1
77-
env:
78-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79-
with:
80-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
81-
asset_path: build/product/ios/universal/ios-universal.zip
82-
asset_name: "ios-universal-${{ env.RELEASE_VERSION }}.zip"
83-
asset_content_type: application/zip
8466
- name: Upload macos src md
8567
uses: actions/upload-release-asset@v1
8668
env:
@@ -89,13 +71,4 @@ jobs:
8971
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
9072
asset_path: build/src/macos-src-log.md
9173
asset_name: "macos-src-log-${{ env.RELEASE_VERSION }}.md"
92-
asset_content_type: application/text
93-
- name: Upload ios src md
94-
uses: actions/upload-release-asset@v1
95-
env:
96-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
97-
with:
98-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
99-
asset_path: build/src/ios-src-log.md
100-
asset_name: "ios-src-log-${{ env.RELEASE_VERSION }}.md"
10174
asset_content_type: application/text

0 commit comments

Comments
 (0)