Skip to content

Commit

Permalink
Bump ansys/actions from 7 to 8 (#627)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ludovic Steinbach <[email protected]>
  • Loading branch information
dependabot[bot] and ludovicsteinbach authored Oct 8, 2024
1 parent fcc70a2 commit f0dfd61
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
name: "Code style"
runs-on: ubuntu-latest
steps:
- uses: ansys/actions/code-style@v7
- uses: ansys/actions/code-style@v8
with:
skip-install: false

doc-style:
name: "Documentation style"
runs-on: ubuntu-latest
steps:
- uses: ansys/actions/doc-style@v7
- uses: ansys/actions/doc-style@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Run Ansys documentation building action"
uses: ansys/actions/doc-build@v7
uses: ansys/actions/doc-build@v8
with:
check-links: false
dependencies: "pandoc"
Expand All @@ -65,7 +65,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: ansys/actions/build-wheelhouse@v7
- uses: ansys/actions/build-wheelhouse@v8
with:
library-name: ${{ env.LIBRARY_NAME }}
operating-system: ${{ matrix.os }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ doc-build, tests]
steps:
- uses: ansys/actions/build-library@v7
- uses: ansys/actions/build-library@v8
with:
library-name: ${{ env.LIBRARY_NAME }}
python-version: ${{ env.MAIN_PYTHON_VERSION }}
Expand All @@ -132,11 +132,13 @@ jobs:
needs: [server-checks]
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags')
steps:
- uses: ansys/actions/doc-deploy-dev@v7
- uses: ansys/actions/doc-deploy-dev@v8
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: documentation-html
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

update-changelog:
name: "Update CHANGELOG for new tag"
Expand All @@ -146,9 +148,11 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: ansys/actions/doc-deploy-changelog@v7
- uses: ansys/actions/doc-deploy-changelog@v8
with:
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

release:
name: "Release"
Expand All @@ -160,13 +164,13 @@ jobs:
id-token: write
contents: write
steps:
- uses: ansys/actions/release-pypi-public@v7
- uses: ansys/actions/release-pypi-public@v8
name: "Release to public PyPI"
with:
library-name: ${{ env.LIBRARY_NAME }}
use-trusted-publisher: true

- uses: ansys/actions/release-github@v7
- uses: ansys/actions/release-github@v8
name: "Release to GitHub"
with:
library-name: ${{ env.LIBRARY_NAME }}
Expand All @@ -177,8 +181,10 @@ jobs:
needs: release
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
steps:
- uses: ansys/actions/doc-deploy-stable@v7
- uses: ansys/actions/doc-deploy-stable@v8
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: documentation-html
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
4 changes: 3 additions & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !startsWith( github.event.pull_request.head.ref, 'dependabot/') && !(startsWith(github.event.pull_request.head.ref, 'pre-commit-ci-update-config')) }}
steps:
- uses: ansys/actions/doc-changelog@v7
- uses: ansys/actions/doc-changelog@v8
with:
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
2 changes: 1 addition & 1 deletion .github/workflows/server_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
needs: integration-tests
steps:
- name: "Run Ansys documentation building action"
uses: ansys/actions/doc-build@v7
uses: ansys/actions/doc-build@v8
env:
TEST_SL_URL: ${{secrets.TEST_SERVER_URL_NEXT}}
TEST_USER: ${{secrets.TEST_SERVER_READ_USER}}
Expand Down

0 comments on commit f0dfd61

Please sign in to comment.