Skip to content

Commit

Permalink
Upload tar archives to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX committed Apr 12, 2023
1 parent 8ba525b commit 0e0a0db
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,20 @@ jobs:
git pull darwin_arm sgc/darwin64_arm
perl ./Configure ${{ matrix.opensslflags }} ('--prefix=' + $INSDIR)
make install_sw
- name: Create tar archive
run: |
tar cJf ../openssl.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v3
with:
name: openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload Binary
uses: actions/upload-artifact@v3
with:
name: openssl-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: openssl.tar.xz
angle:
runs-on: ${{ matrix.OS }}
strategy:
Expand Down Expand Up @@ -123,11 +132,20 @@ jobs:
gclient sync
gn gen ($INSDIR) ('--args=target_cpu=\"${{ matrix.arch }}\" is_debug=false mac_sdk_path=\"' + $Env:SDKROOT + '\" mac_sdk_min=\"${{ matrix.version }}\" mac_min_system_version=\"${{ matrix.version }}\" mac_deployment_target=\"${{ matrix.version }}\" angle_enable_metal=true angle_enable_swiftshader=false angle_enable_vulkan=false')
autoninja -C ($INSDIR) libEGL libGLESv2
- name: Create tar archive
run: |
tar cJf ../angle.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v3
with:
name: angle-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload Binary
uses: actions/upload-artifact@v3
with:
name: angle-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: angle.tar.xz
build:
runs-on: ${{ matrix.OS }}
needs: [ "openssl" ]
Expand Down Expand Up @@ -199,11 +217,20 @@ jobs:
make install -j4
popd
popd
- name: Create tar archive
run: |
tar cJf ../mcpelauncher.tar.xz .
working-directory: output
- name: Upload Binary
uses: actions/upload-artifact@v3
with:
name: mcpelauncher-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}
path: output/
- name: Upload tar
uses: actions/upload-artifact@v3
with:
name: mcpelauncher-${{ matrix.OS }}-${{ matrix.version }}-${{ matrix.arch }}-tar
path: mcpelauncher.tar.xz
upload-all:
needs:
- build
Expand All @@ -216,7 +243,7 @@ jobs:
path: "artifacts"
- uses: ncipollo/release-action@v1
with:
artifacts: "artifacts/**"
artifacts: "artifacts/**/*.tar.xz,artifacts/**/libEGL.dylib,artifacts/**/libGLESv2.dylib"
token: ${{ secrets.GITHUB_TOKEN }}
tag: v0.0.${{ github.run_id }}
commit: ${{ github.sha }}
Expand Down

0 comments on commit 0e0a0db

Please sign in to comment.