Skip to content

debug

debug #369

Workflow file for this run

name: Build package
on: [push, pull_request]
jobs:
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build
shell: cmd
run: choco pack -v
- name: Install
shell: cmd
run: choco install dvc --debug --verbose --source "'.;https://community.chocolatey.org/api/v2/'"
- if: failure()
run: cat C:\python312_msi_install.log
- name: Test
shell: cmd
run: |
refreshenv
dvc doctor
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
shell: bash
env:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
run: |
choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org/
choco push dvc*.nupkg --source https://push.chocolatey.org/
notify:
if: github.ref == 'refs/heads/main' && failure()
needs: [windows]
runs-on: ubuntu-latest
steps:
- name: Slack Notification
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: 'Package build failed for ${{ github.repository }}'
SLACK_TITLE: CI Status
SLACK_USERNAME: dvc-pkg-build