Skip to content

Commit 2b5f7b8

Browse files
- azure_eu and include_metadata support added
- live preview code updated - security file added
1 parent 8ffc100 commit 2b5f7b8

File tree

2 files changed

+29
-13
lines changed

2 files changed

+29
-13
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
1-
name: Publish to PyPI
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
211
on:
312
release:
4-
types: [ created ]
13+
types: [ published ]
14+
15+
permissions:
16+
contents: read
17+
518
jobs:
6-
publish:
19+
deploy:
20+
721
runs-on: ubuntu-latest
22+
823
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
1125
- name: Set up Python
12-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v3
1327
with:
14-
python-version: '3.8'
28+
python-version: '3.x'
1529
- name: Install dependencies
1630
run: |
17-
python -m pip install --upgrade pip setuptools wheel
18-
pip install -r requirements.txt
31+
python -m pip install --upgrade pip
32+
pip install build
1933
- name: Build package
20-
run: python setup.py sdist bdist_wheel
34+
run: python -m build
2135
- name: Publish package
22-
uses: pypa/gh-action-pypi-publish@v1
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
2337
with:
2438
user: __token__
25-
password: ${{ secrets.PYPI_PASSWORD }}
26-
distributions: sdist bdist_wheel
39+
password: ${{ secrets.PYPI_PASSWORD }}

.talismanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ fileignoreconfig:
44

55
- filename: README.md
66
checksum: d9d20b2badbf1aa62649bb174db47a9e491d8687e33ac69fee62568efa23fc56
7+
fileignoreconfig:
8+
- filename: .github/workflows/publish.yml
9+
checksum: 4f2e1a9283c5aadaaec639f5efa0111dc35f385ead74e9a6a585f839d27aa0c8

0 commit comments

Comments
 (0)