Skip to content

Commit

Permalink
add : token for pypi
Browse files Browse the repository at this point in the history
remove : useless config
  • Loading branch information
Br4guette authored and Br4guette committed Jun 30, 2024
1 parent a236411 commit 134ad49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# Triggers the workflow on push or pull request events
push:
branches:
- 'dev*'
- "dev*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -18,10 +18,7 @@ jobs:
# The type of runner that the job will run on
strategy:
matrix:
python-versions: ['3.10']
# github action doesn't goes well with windows due to docker support
# github action doesn't goes well with macos due to `no docker command`
#os: [ubuntu-20.04, windows-latest, macos-latest]
python-versions: ["3.10"]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
# map step outputs to job outputs so they can be share among jobs
Expand All @@ -33,7 +30,6 @@ jobs:

# uncomment the following to pickup services


# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down Expand Up @@ -69,7 +65,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -86,6 +82,6 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN}}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
skip-existing: true

0 comments on commit 134ad49

Please sign in to comment.