Skip to content

Conversation

@jorgepiloto
Copy link
Member

@jorgepiloto jorgepiloto commented Jan 30, 2023

The latest patch for pyansys/actions@v3 should fix the issues that we faced in #60. This pull-request reverts the changes to verify this new version solved the issue.

Fixes #59.

@github-actions github-actions bot added the maintenance Generic maintenance related label Jan 30, 2023
@jorgepiloto jorgepiloto requested a review from a team January 30, 2023 16:59
@nikitadpopel
Copy link
Contributor

Hey! Just wondering what this does out of curiosity 😄 And how just updating the version in this .github/workflows/ci_cd.yml will cause the runner to use other version. Does the runner read in this yaml in the beginning of the run every time to set up all its configs?

@jorgepiloto
Copy link
Member Author

Hi @nikitadpopel, let me answer your question.

All the YML files inside the special directory .github/workflows are assumed to be CI/CD configuration files. Dependending on their configuration, those are executed on particular events like push or merge.

Both default CI/CD machine by GitHub or a self-hosted runner read YML files as soon as you push changes.

Since the YML files for CI/CD can get a bit extensive, GitHub introduced the so-called "reusable workflows". The idea is that developers can write small and common pieces of workflows so those can be reused across other repositories.

Hence, we created pyansys/actions. This repository has various directories containing a single YML file. These files accepts inputs so you can customize the logic according to their values.

The syntax to use one of this "reusable workflows" is as follows:

uses: <organization>/<repository>/<directory>@version

Some months ago, we updated PyAnsys actions from v2 to v3. We just carried a bug fix in v3 related to the deployment of development documentation. This pull-request allows us to benefit from such patch release.

@jorgepiloto jorgepiloto marked this pull request as ready for review February 1, 2023 07:19
@nikitadpopel
Copy link
Contributor

Hi @nikitadpopel, let me answer your question.

All the YML files inside the special directory .github/workflows are assumed to be CI/CD configuration files. Dependending on their configuration, those are executed on particular events like push or merge.

Both default CI/CD machine by GitHub or a self-hosted runner read YML files as soon as you push changes.

Since the YML files for CI/CD can get a bit extensive, GitHub introduced the so-called "reusable workflows". The idea is that developers can write small and common pieces of workflows so those can be reused across other repositories.

Hence, we created pyansys/actions. This repository has various directories containing a single YML file. These files accepts inputs so you can customize the logic according to their values.

The syntax to use one of this "reusable workflows" is as follows:

uses: <organization>/<repository>/<directory>@version

Some months ago, we updated PyAnsys actions from v2 to v3. We just carried a bug fix in v3 related to the deployment of development documentation. This pull-request allows us to benefit from such patch release.

Thanks for clarifying!

@jorgepiloto jorgepiloto merged commit 7cf4fd6 into main Feb 3, 2023
@jorgepiloto jorgepiloto deleted the ci/pyansys-actions branch February 3, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Generic maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade doc-deploy-dev to latest pyansys/actions

3 participants