summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 6cdbdc272b..357be970a4 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -19,17 +19,9 @@ jobs:
run: |
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
- # Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- - name: Checkout ruby
- run: |
- git clone --single-branch --shallow-since=yesterday --branch=${GITHUB_REF#refs/heads/} https://github.com/${{ github.repository }} src
- git -C src reset --hard "$GITHUB_SHA"
- if: github.event_name == 'push'
- - name: Checkout a pull request
- run: |
- git clone --single-branch --shallow-since=yesterday --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} src
- git -C src reset --hard ${{ github.event.pull_request.head.sha }}
- if: github.event_name == 'pull_request'
+ - uses: actions/checkout@v2
+ with:
+ path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Install libraries
@@ -44,7 +36,7 @@ jobs:
- name: Autoconf
run: |
cd src
- autoconf
+ autoreconf -i
- name: Configure
run: |
mkdir build