mirror of
https://github.com/mas-cli/mas
synced 2024-11-26 21:40:19 +00:00
baafabab7b
To resolve issues with Carthage connecting to GitHub *** Skipped downloading Commandant.framework binary due to the error: 116 "API rate limit exceeded for 199.7.166.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
31 lines
907 B
YAML
31 lines
907 B
YAML
#
|
|
# .github/workflows/build-test.yml
|
|
#
|
|
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
|
|
|
name: Build & Test
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-test:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
|
# https://github.com/actions/checkout#usage
|
|
- uses: actions/checkout@master
|
|
with:
|
|
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Bootstrap
|
|
run: script/bootstrap
|
|
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsenv
|
|
env:
|
|
# Carthage looks for GITHUB_ACCESS_TOKEN
|
|
# https://github.com/Carthage/Carthage/blob/master/Source/CarthageKit/GitHub.swift#L118
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build
|
|
run: script/build
|
|
- name: Test
|
|
run: script/test
|