Skip to content

Commit

Permalink
Fix workflow ternary operator syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert committed Sep 13, 2023
1 parent b107447 commit ce9176b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
# In the job that builds the source distribution, call 'build' with no arguments so that it builds the wheel
# from the sdist. In all other jobs, the wheel is built directly from the source directory.
# This way, we confirm that wheels can be successfully built from the sdist.
- name: Build wheel ${{ matrix.sdist && "and sdist" }}
run: python -I -m build ${{ !matrix.sdist && "--wheel" }}
- name: Build wheel${{ matrix.sdist && ' and sdist' || '' }}
run: python -I -m build ${{ !matrix.sdist && '--wheel' || '' }}
env:
SIXS_ARCHIVE_DIR: 6s-archives

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Tests

on: [ push ]
on:
push:
branches:
- '!feat/*'

jobs:
download_archives:
Expand Down

0 comments on commit ce9176b

Please sign in to comment.