Skip to content

Commit

Permalink
CI: Switch to the more reliable macOS 10.15 workers (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrogario authored Feb 20, 2021
1 parent 6bca010 commit 7f324fa
Showing 1 changed file with 8 additions and 8 deletions.
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

0 comments on commit 7f324fa

Please sign in to comment.