diff options
author | sr55 <[email protected]> | 2020-03-27 20:43:55 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2020-03-27 20:44:19 +0000 |
commit | 009e0f715d1819f1cc1ed280e8d28c39add798c2 (patch) | |
tree | bb0daa8df5994953f6661dc2aca600a10e8537ab /.github/workflows/mac.yml | |
parent | eed5cbdd841ea1a86ad104eb02ee38d8e462dd07 (diff) |
Improvements to our GitHub Actions.
- All: Remove repository restrictions.
- All: Add an action to cleanup artifacts older than 3 days
- Windows: Build a complete windows UI installer package including libhb
- Windows: Add support for code signing and sign with a self-signed certificate.
- Windows: Upload Artifacts
Diffstat (limited to '.github/workflows/mac.yml')
-rw-r--r-- | .github/workflows/mac.yml | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 86abf6a79..6cdd9894b 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -3,19 +3,9 @@ name: macOS build on: [push, pull_request] jobs: - handle_forks: - name: Forked Repo - runs-on: ubuntu-latest - if: github.repository != 'HandBrake/HandBrake' - steps: - - name: Print Warning - run: | - echo "Builds are disabled for forked repositories." - build: name: Build on macOS runs-on: macOS-latest - if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master @@ -36,3 +26,16 @@ jobs: ./configure --launch-jobs=$(sysctl -n hw.ncpu) --launch cd build make pkg.create + + - name: Upload Assets + uses: actions/upload-artifact@v1 + with: + name: HandBrake-macos + path: ./build/pkg + + - name: Tidy up past artifacts + uses: kolpav/purge-artifacts-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + expire-in: 3days + |