Skip to content

Commit

Permalink
disable ci publish because devpi is offline
Browse files Browse the repository at this point in the history
  • Loading branch information
mikahanninen committed Feb 23, 2024
1 parent 504f5ac commit 969e952
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,29 +117,29 @@ jobs:
name: ${{ matrix.os }}-py${{ matrix.python }}-test-reports
path: packages/main/tests/results

publish:
# Only publish on master workflow runs
if: github.ref == 'refs/heads/master'
needs: test
runs-on: ubuntu-latest
env:
INVOKE_IS_CI_CD: 1
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
if: success()
run: |
invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}
invoke build.publish --ci --version=prerelease --yes-to-all
# publish:
# # Only publish on master workflow runs
# if: github.ref == 'refs/heads/master'
# needs: test
# runs-on: ubuntu-latest
# env:
# INVOKE_IS_CI_CD: 1
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python
# uses: actions/setup-python@v1
# with:
# python-version: '3.9'
# - name: Upgrade pip
# run: python -m pip install --upgrade pip
# - name: Install invocation prerequisites
# run: pip install -Ur ../../invocations/requirements.txt
# - name: Install invocation package
# run: invoke install-invocations || invoke self.install-invocations
# - name: Install dependencies
# run: invoke install
# - name: Build and publish package
# if: success()
# run: |
# invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}
# invoke build.publish --ci --version=prerelease --yes-to-all

0 comments on commit 969e952

Please sign in to comment.