Skip to content

Commit cbc25a3

Browse files
committed
try again
1 parent b0ef756 commit cbc25a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
bash helper.sh build-ci
2828
- name: Publish to PyPI
29-
uses: pypa/gh-action-pypi-publish@master
29+
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
3131
user: __token__
3232
password: ${{ secrets.PYPI_API_TOKEN }}

helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function generate {
2222
function generate-ci {
2323
docker run --rm -v "${PWD}":/local "$docker_image" generate -i "$openapi_yaml_url" -l python -o /local/"$lib" -c /local/config.json --git-user-id elabftw --git-repo-id elabapi-python
2424
# fix permissions
25-
chown -R "$(id -u)":"$(id -gn)" "$lib"
25+
sudo chown -R "$(id -u)":"$(id -gn)" "$lib"
2626
}
2727

2828
# generate the lib from a local file in current directory

0 commit comments

Comments
 (0)