Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Switch to the more reliable macOS 10.15 workers #97

Merged
merged 1 commit into from
Feb 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/vcpkg_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
fail-fast: false
matrix:
os: [
'macos-11.0'
'macos-10.15'
]
llvm: [
'11'
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Store the TGZ package
uses: actions/upload-artifact@v1
with:
name: macos-11.0_llvm${{ matrix.llvm }}_tgz_package
name: ${{ matrix.os }}_llvm${{ matrix.llvm }}_tgz_package
path: ${{ steps.package_names.outputs.TGZ_PACKAGE_PATH }}


Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
release_macos:
# Do not run the release procedure if any of the builds has failed
needs: [ build_linux, build_mac ]
runs-on: 'macos-11.0'
runs-on: 'macos-10.15'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')

steps:
Expand All @@ -212,17 +212,17 @@ jobs:

- name: Group the packages by platform
run: |
zip -r9 rellic_macos-11.0_packages.zip \
macos-11.0*
zip -r9 rellic_macos-10.15_packages.zip \
macos-10.15*

- name: Upload the macOS 11.0 packages
- name: Upload the macOS 10.15 packages
uses: actions/upload-release-asset@v1

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: rellic_macos-11.0_packages.zip
asset_name: rellic_macos-11.0_packages.zip
asset_path: rellic_macos-10.15_packages.zip
asset_name: rellic_macos-10.15_packages.zip
asset_content_type: application/gzip