Better (non)use of literal form scalars

This commit is contained in:
Ingy döt Net 2020-12-23 10:28:17 -05:00
parent c851ff7ead
commit 492bcbaa13

View File

@ -26,7 +26,6 @@ jobs:
- name: install build deps - name: install build deps
run: | run: |
python -V python -V
python -m pip install build python -m pip install build
- name: build sdist - name: build sdist
@ -88,8 +87,7 @@ jobs:
id: cached_libyaml id: cached_libyaml
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: libyaml
libyaml
key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}} key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}}
- name: checkout pyyaml - name: checkout pyyaml
@ -145,8 +143,7 @@ jobs:
id: cached_libyaml id: cached_libyaml
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: libyaml
libyaml
key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}} key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}}
- name: ensure libyaml fetched - name: ensure libyaml fetched
@ -190,8 +187,7 @@ jobs:
id: cached_libyaml id: cached_libyaml
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: libyaml
libyaml
key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}} key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}}
- name: checkout pyyaml - name: checkout pyyaml
@ -230,8 +226,7 @@ jobs:
id: cached_libyaml id: cached_libyaml
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: libyaml
libyaml
key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}} key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}}
- name: ensure libyaml fetched - name: ensure libyaml fetched
@ -247,8 +242,7 @@ jobs:
env: env:
CIBW_BUILD: ${{matrix.python_tag}} CIBW_BUILD: ${{matrix.python_tag}}
CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD_VERBOSITY: 1
run: | run: bash ./packaging/build/macos.sh
bash ./packaging/build/macos.sh
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with: