2020 - ' *'
2121
2222jobs :
23- build-windows :
24- defaults :
25- run :
26- working-directory : .\\build
27- strategy :
28- fail-fast : false
29- matrix :
30- name :
31- - windows_x86_64
32- - windows_arm64
33- runs-on : windows-2019
34- steps :
35- - uses : actions/checkout@v2
36- - name : Disk Cleanup
37- run : |
38- Get-PSDrive
39- # Cache 済み Docker Image の削除
40- # Clean unused docker images
41- docker rmi $(docker images -q -a)
42- # Android SDK の削除
43- # Delete Android SDK
44- Remove-Item -Recurse -Force $Env:ANDROID_HOME -ErrorAction Ignore
45- Remove-Item -Recurse -Force $Env:ANDROID_NDK_HOME -ErrorAction Ignore
46- # JVM の削除
47- # Delete JVM
48- Remove-Item -Recurse -Force $Env:JAVA_HOME_11_X64 -ErrorAction Ignore
49- Remove-Item -Recurse -Force $Env:JAVA_HOME_8_X64 -ErrorAction Ignore
50- Get-PSDrive
51- - run : " & .\\ build.${{ matrix.name }}.ps1 \" ${{ github.event.inputs.commitHash }}\" "
52- - name : Upload Artifact
53- uses : actions/upload-artifact@v1
54- with :
55- name : webrtc.${{ matrix.name }}.zip
56- path : build\_package\${{ matrix.name }}\webrtc.zip
23+ # build-windows:
24+ # defaults:
25+ # run:
26+ # working-directory: .\\build
27+ # strategy:
28+ # fail-fast: false
29+ # matrix:
30+ # name:
31+ # - windows_x86_64
32+ # - windows_arm64
33+ # runs-on: windows-2019
34+ # steps:
35+ # - uses: actions/checkout@v2
36+ # - name: Disk Cleanup
37+ # run: |
38+ # Get-PSDrive
39+ # # Cache 済み Docker Image の削除
40+ # # Clean unused docker images
41+ # docker rmi $(docker images -q -a)
42+ # # Android SDK の削除
43+ # # Delete Android SDK
44+ # Remove-Item -Recurse -Force $Env:ANDROID_HOME -ErrorAction Ignore
45+ # Remove-Item -Recurse -Force $Env:ANDROID_NDK_HOME -ErrorAction Ignore
46+ # # JVM の削除
47+ # # Delete JVM
48+ # Remove-Item -Recurse -Force $Env:JAVA_HOME_11_X64 -ErrorAction Ignore
49+ # Remove-Item -Recurse -Force $Env:JAVA_HOME_8_X64 -ErrorAction Ignore
50+ # Get-PSDrive
51+ # - run: "& .\\build.${{ matrix.name }}.ps1 \"${{ github.event.inputs.commitHash }}\""
52+ # - name: Upload Artifact
53+ # uses: actions/upload-artifact@v1
54+ # with:
55+ # name: webrtc.${{ matrix.name }}.zip
56+ # path: build\_package\${{ matrix.name }}\webrtc.zip
5757 build-macos :
5858 defaults :
5959 run :
9494 # - ubuntu-20.04_x86_64
9595 # - ubuntu-22.04_x86_64
9696 - android
97- runs-on : ubuntu-20.04
97+ runs-on : ubuntu-latest
9898 steps :
9999 - uses : actions/checkout@v2
100100 - name : Disk Cleanup
@@ -117,10 +117,10 @@ jobs:
117117 name : Create Release
118118 if : contains(github.ref, 'tags/m')
119119 needs :
120- - build-windows
120+ # - build-windows
121121 - build-macos
122122 - build-linux
123- runs-on : ubuntu-20.04
123+ runs-on : ubuntu-latest
124124 steps :
125125 - name : Create Release
126126 id : create_release
@@ -189,40 +189,40 @@ jobs:
189189 asset_content_type : application/gzip
190190 # Windows だけ Content-Type が違うので別で記述する
191191 # Windows has a different Content-Type, so handle it separately.
192- upload-assets-windows :
193- strategy :
194- fail-fast : false
195- matrix :
196- name :
197- - windows_x86_64
198- - windows_arm64
199- name : Upload windows
200- if : contains(github.ref, 'tags/m')
201- needs :
202- - create-release
203- runs-on : ubuntu-latest
204- steps :
205- - name : Checkout code
206- uses : actions/checkout@v2
207- - name : Download ${{ matrix.name }}
208- uses : actions/download-artifact@v1
209- with :
210- name : webrtc.${{ matrix.name }}.zip
211- - uses : actions/download-artifact@v1
212- with :
213- name : create-release.env
214- - name : Env to output
215- shell : bash
216- run : |
217- source create-release.env/create-release.env
218- echo "::set-output name=upload_url::$UPLOAD_URL"
219- id : env
220- - name : Upload windows Release Asset
221- 222- env :
223- GITHUB_TOKEN : ${{ secrets.TOKEN }}
224- with :
225- upload_url : ${{ steps.env.outputs.upload_url }}
226- asset_path : webrtc.${{ matrix.name }}.zip/webrtc.zip
227- asset_name : webrtc.${{ matrix.name }}.zip
228- asset_content_type : application/zip
192+ # upload-assets-windows:
193+ # strategy:
194+ # fail-fast: false
195+ # matrix:
196+ # name:
197+ # - windows_x86_64
198+ # - windows_arm64
199+ # name: Upload windows
200+ # if: contains(github.ref, 'tags/m')
201+ # needs:
202+ # - create-release
203+ # runs-on: ubuntu-latest
204+ # steps:
205+ # - name: Checkout code
206+ # uses: actions/checkout@v2
207+ # - name: Download ${{ matrix.name }}
208+ # uses: actions/download-artifact@v1
209+ # with:
210+ # name: webrtc.${{ matrix.name }}.zip
211+ # - uses: actions/download-artifact@v1
212+ # with:
213+ # name: create-release.env
214+ # - name: Env to output
215+ # shell: bash
216+ # run: |
217+ # source create-release.env/create-release.env
218+ # echo "::set-output name=upload_url::$UPLOAD_URL"
219+ # id: env
220+ # - name: Upload windows Release Asset
221+ 222+ # env:
223+ # GITHUB_TOKEN: ${{ secrets.TOKEN }}
224+ # with:
225+ # upload_url: ${{ steps.env.outputs.upload_url }}
226+ # asset_path: webrtc.${{ matrix.name }}.zip/webrtc.zip
227+ # asset_name: webrtc.${{ matrix.name }}.zip
228+ # asset_content_type: application/zip
0 commit comments