mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 05:33:20 +02:00
(v2.1.1.9216) PyPI access token
This commit is contained in:
10
.github/workflows/check-current-testthat.yaml
vendored
10
.github/workflows/check-current-testthat.yaml
vendored
@ -94,13 +94,3 @@ jobs:
|
||||
with:
|
||||
upload-snapshots: true
|
||||
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
|
||||
artifact-name: 'AMR-{matrix.config.os}-r{matrix.config.r}-result'
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'AMR-{matrix.config.os}-r{matrix.config.r}-result'
|
||||
path: |
|
||||
/Users/runner/work/AMR/AMR/check/*.(zip|gz)
|
||||
/Users/runner/work/AMR/AMR/check/**/*.(zip|gz)
|
||||
/Users/runner/work/AMR/AMR/check/**/**/*.(zip|gz)
|
||||
if-no-files-found: warn
|
||||
|
6
.github/workflows/publish-to-pypi.yml
vendored
6
.github/workflows/publish-to-pypi.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
PyPI_TOKEN: ${{ secrets.PyPI }}
|
||||
PYPI_PAT: ${{ secrets.PYPI_PAT }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
rm -rf PythonPackage
|
||||
|
||||
git init
|
||||
git remote add origin https://$PyPI_TOKEN@github.com/msberends/AMR
|
||||
git remote add origin https://$PYPI_PAT@github.com/msberends/AMR
|
||||
git checkout --orphan python-wrapper
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
@ -94,4 +94,4 @@ jobs:
|
||||
git add .
|
||||
git commit -m "Python wrapper update"
|
||||
# git push origin python-wrapper --force
|
||||
git push https://$PyPI_TOKEN@github.com/msberends/AMR.git python-wrapper --force
|
||||
git push https://$PYPI_PAT@github.com/msberends/AMR.git python-wrapper --force
|
||||
|
Reference in New Issue
Block a user