|
|
@ -132,7 +132,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
user: __token__ |
|
|
|
user: __token__ |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
packages_dir: target/wheels |
|
|
|
packages-dir: target/wheels |
|
|
|
if: github.event_name == 'release' |
|
|
|
if: github.event_name == 'release' |
|
|
|
|
|
|
|
|
|
|
|
wheel_linux_musl: |
|
|
|
wheel_linux_musl: |
|
|
@ -160,7 +160,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
user: __token__ |
|
|
|
user: __token__ |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
packages_dir: target/wheels |
|
|
|
packages-dir: target/wheels |
|
|
|
if: github.event_name == 'release' |
|
|
|
if: github.event_name == 'release' |
|
|
|
|
|
|
|
|
|
|
|
wheel_mac: |
|
|
|
wheel_mac: |
|
|
@ -195,11 +195,10 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: pyoxigraph_wheel_universal2_mac |
|
|
|
name: pyoxigraph_wheel_universal2_mac |
|
|
|
path: target/wheels/*.whl |
|
|
|
path: target/wheels/*.whl |
|
|
|
- uses: pypa/gh-action-pypi-publish@release/v1 |
|
|
|
- run: pip install twine && twine upload target/wheels/* |
|
|
|
with: |
|
|
|
env: |
|
|
|
user: __token__ |
|
|
|
TWINE_USERNAME: __token__ |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
packages_dir: target/wheels |
|
|
|
|
|
|
|
if: github.event_name == 'release' |
|
|
|
if: github.event_name == 'release' |
|
|
|
|
|
|
|
|
|
|
|
wheel_windows: |
|
|
|
wheel_windows: |
|
|
@ -228,11 +227,10 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: pyoxigraph_wheel_x86_64_windows |
|
|
|
name: pyoxigraph_wheel_x86_64_windows |
|
|
|
path: target/wheels/*.whl |
|
|
|
path: target/wheels/*.whl |
|
|
|
- uses: pypa/gh-action-pypi-publish@release/v1 |
|
|
|
- run: pip install twine && twine upload target/wheels/* |
|
|
|
with: |
|
|
|
env: |
|
|
|
user: __token__ |
|
|
|
TWINE_USERNAME: __token__ |
|
|
|
password: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |
|
|
|
packages_dir: target/wheels |
|
|
|
|
|
|
|
if: github.event_name == 'release' |
|
|
|
if: github.event_name == 'release' |
|
|
|
|
|
|
|
|
|
|
|
npm_tarball: |
|
|
|
npm_tarball: |
|
|
@ -249,6 +247,7 @@ jobs: |
|
|
|
node-version: 16 |
|
|
|
node-version: 16 |
|
|
|
cache: npm |
|
|
|
cache: npm |
|
|
|
cache-dependency-path: "js/package.json" |
|
|
|
cache-dependency-path: "js/package.json" |
|
|
|
|
|
|
|
registry-url: https://registry.npmjs.org |
|
|
|
- run: npm run pack |
|
|
|
- run: npm run pack |
|
|
|
working-directory: ./js |
|
|
|
working-directory: ./js |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
@ -359,7 +358,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
rm -rf .git |
|
|
|
rm -rf .git bench fuzz |
|
|
|
zip -r oxigraph_${{ github.event.release.tag_name }}.zip . |
|
|
|
zip -r oxigraph_${{ github.event.release.tag_name }}.zip . |
|
|
|
tar -czf /tmp/oxigraph_${{ github.event.release.tag_name }}.tar.gz . |
|
|
|
tar -czf /tmp/oxigraph_${{ github.event.release.tag_name }}.tar.gz . |
|
|
|
mv /tmp/oxigraph_${{ github.event.release.tag_name }}.tar.gz . |
|
|
|
mv /tmp/oxigraph_${{ github.event.release.tag_name }}.tar.gz . |
|
|
|