mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 05:33:20 +02:00
(v2.1.1.9215) python token
This commit is contained in:
@ -98,9 +98,9 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: testthat-snapshots
|
||||
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)
|
||||
/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:
|
||||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
|
||||
PyPI_TOKEN: ${{ secrets.PyPI }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
rm -rf PythonPackage
|
||||
|
||||
git init
|
||||
git remote add origin https://$GITHUB_PAT@github.com/msberends/AMR
|
||||
git remote add origin https://$PyPI_TOKEN@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://$GITHUB_PAT@github.com/msberends/AMR.git python-wrapper --force
|
||||
git push https://$PyPI_TOKEN@github.com/msberends/AMR.git python-wrapper --force
|
||||
|
Reference in New Issue
Block a user