Skip to content

Commit

Permalink
CI: update example workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Dec 20, 2023
1 parent b243e7d commit 98c1df3
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
name: Examples
# name: GitHub CI
# on:
# pull_request:
# workflow_dispatch:
# push:
# tags:
# - "*"
# branches:
# - main

# Controls when the workflow will run
name: Examples
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
branches: [ main ]
workflow_dispatch:
push:
tags:
- 'v*'
branches:
- main
pull_request:
branches: [ main ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYEDB_USE_LEGACY: '1'
PYEDB_CI_NO_DISPLAY: '1'
MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 98c1df3

Please sign in to comment.