Fix build action

This commit is contained in:
laggykiller 2025-02-10 02:48:56 +08:00
parent 074384e304
commit b15181b80c
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View file

@ -55,6 +55,7 @@ jobs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: sdist
path: dist/sqlcipher3-wheels-*.tar.gz path: dist/sqlcipher3-wheels-*.tar.gz
build-wheels: build-wheels:
@ -167,6 +168,7 @@ jobs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: wheels-${{ matrix.runs-on }}
path: ./wheelhouse/*.whl path: ./wheelhouse/*.whl
upload-pypi: upload-pypi:
@ -176,7 +178,8 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: artifact name: wheels-*
merge-multiple: true
path: dist path: dist
- uses: pypa/gh-action-pypi-publish@release/v1 - uses: pypa/gh-action-pypi-publish@release/v1

View file

@ -3,7 +3,7 @@ import sys
import unittest import unittest
from os.path import dirname from os.path import dirname
sys.path.append(dirname(dirname(__file__))) sys.path.insert(0, dirname(dirname(__file__)))
from tests.backup import suite as backup_suite from tests.backup import suite as backup_suite
from tests.dbapi import suite as dbapi_suite from tests.dbapi import suite as dbapi_suite

View file

@ -1,7 +1,7 @@
#-*- coding: iso-8859-1 -*- #-*- coding: iso-8859-1 -*-
# pysqlite2/test/dbapi.py: tests for DB-API compliance # pysqlite2/test/dbapi.py: tests for DB-API compliance
# #
# Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de> # Copyright (C) 2004-2010 Gerhard H<EFBFBD>ring <gh@ghaering.de>
# #
# This file is part of pysqlite. # This file is part of pysqlite.
# #
@ -26,7 +26,7 @@ import unittest
from sqlcipher3 import dbapi2 as sqlite from sqlcipher3 import dbapi2 as sqlite
#from test.support import TESTFN, unlink #from test.support import TESTFN, unlink
TESTFN = '/tmp/pysqlite3_test' TESTFN = 'pysqlite3_test'
from os import unlink from os import unlink