mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 01:06:18 +00:00
First commit
This commit is contained in:
25
.github/workflows/CI.yml
vendored
25
.github/workflows/CI.yml
vendored
@@ -1,21 +1,20 @@
|
||||
name: Python CI
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
release:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
uses: microsoft/action-python/.github/workflows/validation.yml@0.6.4
|
||||
with:
|
||||
workdir: '.'
|
||||
tests:
|
||||
uses: ./.github/workflows/tests.yml
|
||||
|
||||
publish:
|
||||
uses: microsoft/action-python/.github/workflows/publish.yml@0.6.4
|
||||
secrets:
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
|
||||
needs: tests
|
||||
if: github.event_name == 'release'
|
||||
uses: ./.github/workflows/publish.yml
|
||||
permissions:
|
||||
id-token: write
|
||||
|
||||
Reference in New Issue
Block a user