8000 Fix publishing and mypy actions (#1158) · mattholy/server-client-python@fb3cd65 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb3cd65

Browse files
authored
Fix publishing and mypy actions (tableau#1158)
* Fix usage of env var in publishing action file * Support old implicit optional behavior for mypy (https://github.com/hauntsaninja/no_implicit_optional)
1 parent 83e1069 commit fb3cd65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/meta-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- name: Run Mypy tests
3333
if: always()
3434
run: |
35-
mypy --sho 8037 w-error-codes --disable-error-code misc --disable-error-code import tableauserverclient test
35+
mypy --show-error-codes --disable-error-code misc --disable-error-code import --implicit-optional tableauserverclient test

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
repository_url: https://test.pypi.org/legacy/
3535

3636
- name: Publish distribution 📦 to PyPI
37-
if: $GITHUB_REF == 'refs/heads/master'
37+
if: ${GITHUB_REF} == 'refs/heads/master'
3838
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
3939
with:
4040
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)
0