diff options
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r-- | .github/workflows/release.yaml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d0cc7df..27b05c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -89,7 +89,7 @@ jobs: run: | python3 -m venv venv . venv/bin/activate - pip install -U pip + pip install pip==21.1 pip install poetry poetry install python -c "import sys; print(sys.version)" @@ -107,18 +107,12 @@ jobs: iredis -h iredis help GET - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry - - name: Executable Build run: | # pyoxidizer doesn't know the wheel path, and it doesn't support passing env vars export WHEEL_PATH=`ls ./dist/iredis*.whl` envsubst '$WHEEL_PATH' < pyoxidizer.template.bzl > pyoxidizer.bzl - cargo install pyoxidizer --vers 0.6.0 + pip install pyoxidizer pyoxidizer build --release install cd ./build/x86*/release/install tar -zcf ../../../iredis.tar.gz lib/ iredis |