Skip to content

Commit

Permalink
release: v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Aug 7, 2024
1 parent bc83861 commit 3581c1e
Show file tree
Hide file tree
Showing 29 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion .ci/ansys-actions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
[project]
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
name = "ansys-actions-core"
version = "6.2.dev0"
version = "7.0.0"
description = "A demo library for testing Ansys actions"
readme = "README.rst"
requires-python = ">=3.7"
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ jobs:
needs: labeler
steps:

- uses: ansys/actions/commit-style@main
- uses: ansys/actions/commit-style@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ansys/actions/branch-name-style@main
- uses: ansys/actions/branch-name-style@v7

code-style:
name: "Code style"
runs-on: ubuntu-latest
needs: commit-and-branch-style
steps:
- name: "Run code style checks"
uses: ansys/actions/code-style@main
uses: ansys/actions/code-style@v7
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: false
Expand All @@ -117,7 +117,7 @@ jobs:
needs: commit-and-branch-style
steps:
- name: "Run documentation style checks"
uses: ansys/actions/doc-style@main
uses: ansys/actions/doc-style@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -127,7 +127,7 @@ jobs:
needs: doc-style
steps:
- name: "Build documentation"
uses: ansys/actions/doc-build@main
uses: ansys/actions/doc-build@v7
with:
skip-install: true
python-version: ${{ env.MAIN_PYTHON_VERSION }}
Expand All @@ -143,7 +143,7 @@ jobs:
uses: actions/checkout@v4

- name: "Set up Python"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-cache: false
Expand All @@ -170,7 +170,7 @@ jobs:
retention-days: 7

- name: "Release to the test PyPI repository"
uses: ansys/actions/release-pypi-test@main
uses: ansys/actions/release-pypi-test@v7
with:
library-name: ${{ env.test-library-name }}
twine-username: "__token__"
Expand All @@ -182,7 +182,7 @@ jobs:
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags')
needs: [doc-build, tests]
steps:
- uses: ansys/actions/doc-deploy-dev@main
- uses: ansys/actions/doc-deploy-dev@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -194,7 +194,7 @@ jobs:
needs: doc-deploy-dev
steps:
- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@main
uses: ansys/actions/doc-deploy-index@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
index-name: "actions-vdev"
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
needs: release
steps:
- uses: ansys/actions/doc-deploy-stable@main
- uses: ansys/actions/doc-deploy-stable@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@main
uses: ansys/actions/doc-deploy-index@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
index-name: actions-v${{ env.VERSION_MEILI }}
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.2.dev0
7.0.0
14 changes: 7 additions & 7 deletions _doc-build-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
with:
level: "INFO"
Expand All @@ -246,22 +246,22 @@ runs:
run: |
python ${{ github.action_path }}/../doc-build/parse_doc_conf.py
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true' ) && (env.PDF_FILENAME == '') }}
with:
level: "ERROR"
message: >
Unable to determine PDF filename using conf.py file.
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true' ) && (env.PDF_FILENAME != '') }}
with:
level: "INFO"
message: >
Environment variable PDF_FILENAME set to ${{ env.PDF_FILENAME }}.
# ------------------------------------------------------------------------
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
with:
level: "INFO"
Expand All @@ -280,7 +280,7 @@ runs:
run: |
echo "EXISTS_EXPECTED_BUILD_DIR=$( [ -d ${{ env.EXPECTED_BUILD_DIR }} ] && echo 'true' || echo 'false' )" >> $GITHUB_ENV
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true') && (env.EXISTS_EXPECTED_BUILD_DIR == 'false') }}
with:
level: "ERROR"
Expand All @@ -299,7 +299,7 @@ runs:
run: |
echo "EXISTS_EXPECTED_DOWNLOAD_DIR=$( [ -d '${{ env.EXPECTED_DOWNLOAD_DIR }}' ] && echo 'true' || echo 'false' )" >> $GITHUB_ENV
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true') && (env.EXISTS_EXPECTED_DOWNLOAD_DIR == 'false') }}
with:
level: "WARNING"
Expand All @@ -316,7 +316,7 @@ runs:

- name: Check build directory
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
uses: ansys/actions/_logging@main
uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down
26 changes: 13 additions & 13 deletions _doc-build-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ runs:
using: "composite"
steps:

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand All @@ -132,7 +132,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down Expand Up @@ -166,7 +166,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand All @@ -179,7 +179,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down Expand Up @@ -224,7 +224,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down Expand Up @@ -255,7 +255,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
with:
level: "INFO"
Expand All @@ -268,14 +268,14 @@ runs:
run: |
python ${{ github.action_path }}\..\doc-build\parse_doc_conf.py
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true' ) && (env.PDF_FILENAME == '') }}
with:
level: "ERROR"
message: >
Unable to determine PDF filename using conf.py file.
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true' ) && (env.PDF_FILENAME != '') }}
with:
level: "INFO"
Expand All @@ -284,7 +284,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
with:
level: "INFO"
Expand All @@ -303,7 +303,7 @@ runs:
run: |
echo "EXISTS_EXPECTED_BUILD_DIR=$(if (Test-Path '${{ env.EXPECTED_BUILD_DIR }}') { echo 'true' } else { echo 'false' })" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true') && (env.EXISTS_EXPECTED_BUILD_DIR == 'false') }}
with:
level: "ERROR"
Expand All @@ -322,7 +322,7 @@ runs:
run: |
echo "EXISTS_EXPECTED_DOWNLOAD_DIR=$(if (Test-Path '${{ env.EXPECTED_DOWNLOAD_DIR }}') { echo 'true' } else { echo 'false' })" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
if: ${{ (inputs.add-pdf-html-docs-as-assets == 'true') && (env.EXISTS_EXPECTED_DOWNLOAD_DIR == 'false') }}
with:
level: "WARNING"
Expand All @@ -339,7 +339,7 @@ runs:

- name: Check build directory
if: ${{ inputs.add-pdf-html-docs-as-assets == 'true' }}
uses: ansys/actions/_logging@main
uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand All @@ -361,7 +361,7 @@ runs:
# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down
2 changes: 1 addition & 1 deletion _doc-gen-canonical/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runs:

# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down
2 changes: 1 addition & 1 deletion _doc-gen-robots/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:

# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down
2 changes: 1 addition & 1 deletion _doc-gen-sitemap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:

# ------------------------------------------------------------------------

- uses: ansys/actions/_logging@main
- uses: ansys/actions/_logging@v7
with:
level: "INFO"
message: >
Expand Down
2 changes: 1 addition & 1 deletion _release-pypi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ runs:
steps:

- name: "Set up Python"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ inputs.python-version }}
use-cache: false
Expand Down
2 changes: 1 addition & 1 deletion build-library/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ runs:
uses: actions/checkout@v4

- name: "Set up Python"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ inputs.python-version }}
use-cache: ${{ inputs.use-python-cache }}
Expand Down
4 changes: 2 additions & 2 deletions build-wheelhouse/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ runs:
uses: actions/checkout@v4

- name: "Set up Python ${{ inputs.python-version }}"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ inputs.python-version }}
use-cache: ${{ inputs.use-python-cache }}
Expand Down Expand Up @@ -182,7 +182,7 @@ runs:
retention-days: 7

- name: Check library's dependencies license
uses: ansys/actions/check-licenses@main
uses: ansys/actions/check-licenses@v7
if: ${{ inputs.check-licenses == 'true' }}
with:
python-version: ${{ inputs.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion check-licenses/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ runs:
if: ${{ inputs.checkout == 'true' }}

- name: "Set up Python"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ inputs.python-version }}
use-cache: ${{ inputs.use-python-cache }}
Expand Down
2 changes: 1 addition & 1 deletion check-vulnerabilities/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ runs:
repository: ${{ env.DEPENDENCY_CHECK_REPOSITORY }}

- name: "Set up Python ${{ inputs.python-version }}"
uses: ansys/actions/_setup-python@main
uses: ansys/actions/_setup-python@v7
with:
python-version: ${{ inputs.python-version }}
use-cache: false
Expand Down
Loading

0 comments on commit 3581c1e

Please sign in to comment.