Skip to content

Commit

Permalink
Update recognition.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mikahanninen committed Dec 12, 2024
1 parent 53396ca commit 7ebac4e
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/recognition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,30 +87,30 @@ jobs:
- name: Test
run: invoke code.test

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
# 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
# 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 7ebac4e

Please sign in to comment.