Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
inn0le committed Mar 12, 2020
1 parent 705389f commit 2d5e047
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/publish_on_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,19 @@ jobs:
name: Build and Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.7'
architecture: 'x64'
python-version: 3.7
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/cache@v1
id: upx
with:
path: ./upx
key: ${{ runner.os }}-upx-3.95
- name: Install upx
if: steps.upx.outputs.cache-hit != 'true'
run: |
wget https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz
tar -xJf upx-3.95-amd64_linux.tar.xz
mv upx-3.95-amd64_linux upx
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install build dependencies
run: pip install poetry
- name: Install project requirements
run: |
poetry config virtualenvs.create false
poetry config virtualenvs.in-project true
poetry install --no-interaction
- name: Build python and binary
run: |
Expand Down

0 comments on commit 2d5e047

Please sign in to comment.