Skip to content

Commit

Permalink
added main CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Oct 15, 2024
1 parent 9637f2a commit 10dd900
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci-pipeline__main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name : CI Pipeline - Main
on:
workflow_dispatch:
push:
branches:
- main

env:
RELEASE_TYPE : 'major'
PACKAGE_NAME : 'osbot_local_stack'

jobs:

run-tests:
name: "Run tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "run-tests"
uses: ./.github/actions/run-tests

increment-tag:
name: Increment Tag - Main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Increment Tag
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__increment-tag@dev
with:
release_type: ${{ env.RELEASE_TYPE }}
needs:
- run-tests

publish-to-pypi:
name: "Publish to: PYPI"
permissions:
id-token: write
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Git Update Current Branch
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__update_branch@dev

- name: publish-to-pypi
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pypi__publish@dev
needs:
- increment-tag

0 comments on commit 10dd900

Please sign in to comment.