diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 13:38:12 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 13:38:12 +0100 |
| commit | 0cba5d83b1bfa212d3bdb7719f90740f513f01c2 (patch) | |
| tree | 84faf6e34f6ec447bea58b6b10c4d71739718212 /.github/workflows/on-release-master.yml | |
| parent | a30ee0550d585cc9a63a8bca747c9755dbada760 (diff) | |
| download | tidal-dl-ng-0cba5d83b1bfa212d3bdb7719f90740f513f01c2.tar.gz | |
♻️ Refactored GitHub actions using own env action.
Diffstat (limited to '.github/workflows/on-release-master.yml')
| -rw-r--r-- | .github/workflows/on-release-master.yml | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/.github/workflows/on-release-master.yml b/.github/workflows/on-release-master.yml index f1e38df..7127182 100644 --- a/.github/workflows/on-release-master.yml +++ b/.github/workflows/on-release-master.yml @@ -63,20 +63,8 @@ jobs: steps: - name: Check out uses: actions/checkout@v4 - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - installer-parallel: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v3 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - - name: Install dependencies - run: poetry install --no-interaction --with docs + - name: Set up the environment + uses: ./.github/actions/setup-poetry-env - name: Deploy documentation run: poetry run mkdocs gh-deploy --force compute: @@ -150,25 +138,8 @@ jobs: steps: - name: Check out uses: actions/checkout@v4 - - name: Set up python - uses: actions/setup-python@v5 - with: - python-version: "3.11" - # architecture: "x64" - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - installer-parallel: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v3 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - - name: Install dependencies NOT Windows - run: poetry install --no-interaction --all-extras --with dev + - name: Set up the environment + uses: ./.github/actions/setup-poetry-env - name: Build with pyinstaller for ${{matrix.TARGET}} run: ${{matrix.CMD_BUILD}} - name: Load Release URL File from release job |
