Skip to content

Commit 8bb7af7

Browse files
ci: upgrading to new features in ansys/actions v8.2 (#1852)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 497b0dd commit 8bb7af7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ jobs:
436436
with:
437437
python-version: ${{ env.MAIN_PYTHON_VERSION }}
438438
checkout: false
439+
randomize: true
439440

440441
- name: Upload integration test logs
441442
if: always()
@@ -567,12 +568,17 @@ jobs:
567568
name: Package library
568569
needs: [testing-windows, testing-linux, testing-min-reqs, testing-no-graphics, docs]
569570
runs-on: ubuntu-latest
571+
permissions:
572+
attestations: write
573+
contents: read
574+
id-token: write
570575
steps:
571576
- name: Build library source and wheel artifacts
572577
uses: ansys/actions/build-library@v8
573578
with:
574579
library-name: ${{ env.PACKAGE_NAME }}
575580
python-version: ${{ env.MAIN_PYTHON_VERSION }}
581+
attest-provenance: true
576582

577583
# =================================================================================================
578584
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv RUNNING ON SELF-HOSTED RUNNER vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
@@ -799,6 +805,7 @@ jobs:
799805
pytest-extra-args: "--use-existing-service=yes"
800806
checkout: false
801807
requires-xvfb: true
808+
randomize: true
802809

803810
- name: "Compressing Linux Dockerfile"
804811
uses: vimtor/[email protected]
@@ -843,6 +850,8 @@ jobs:
843850
token: ${{ secrets.GITHUB_TOKEN }}
844851
library-name: ${{ env.PACKAGE_NAME }}
845852
additional-artifacts: windows-core-dockerfile.zip linux-core-dockerfile.zip
853+
add-artifact-attestation-notes: true
854+
generate_release_notes: true
846855

847856
upload_dev_docs:
848857
name: Upload dev documentation

doc/changelog.d/1852.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
upgrading to new features in ansys/actions v8.2

0 commit comments

Comments
 (0)