diff --git a/.github/workflows/latest-pytorch-support.yml b/.github/workflows/latest-pytorch-support.yml index f2438d8ffb..952e436e50 100644 --- a/.github/workflows/latest-pytorch-support.yml +++ b/.github/workflows/latest-pytorch-support.yml @@ -44,8 +44,8 @@ jobs: echo "new_pytorch=$(<.github/pytorch-release-versions/pytorch-latest.txt)" >> $GITHUB_ENV - name: Increment version run: | - chmod +x .github/workflows/increment_version.sh - echo "setup_pytorch=$(.github/workflows/increment_version.sh ${{ env.new_pytorch }})" >> $GITHUB_ENV + chmod +x .github/scripts/increment_version.sh + echo "setup_pytorch=$(.github/scripts/increment_version.sh ${{ env.new_pytorch }})" >> $GITHUB_ENV - name: Update pyproject.toml run: | sed -i '/torch~=/ s/'"${{ env.previous_pytorch }}"'/'"${{ env.setup_pytorch }}"'/g' pyproject.toml @@ -66,6 +66,6 @@ jobs: - [ ] update Nvidia and AMD Docker images on gitlab CI Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request - reviewers: ClaudiaComito, mtar, mrfh92 + reviewers: ClaudiaComito, mtar, JuanPedroGHM labels: backport stable, interoperability draft: true diff --git a/.github/workflows/pytorch-latest-release.yml b/.github/workflows/pytorch-latest-release.yml index 5e3900ff4a..5469fc6549 100644 --- a/.github/workflows/pytorch-latest-release.yml +++ b/.github/workflows/pytorch-latest-release.yml @@ -11,7 +11,7 @@ permissions: jobs: get-version: runs-on: ubuntu-latest - if: ${{ github.repository }} == 'hemlholtz-analytics/heat' + if: ${{ github.repository == 'helmholtz-analytics/heat' }} steps: - name: Harden Runner uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 @@ -27,7 +27,7 @@ jobs: jq -r ".tag_name" | tr -d 'v' > .github/pytorch-release-versions/pytorch-latest.txt - name: Check if file has been modified id: git-check - run: echo "::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")" + run: echo "modified=$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")" >> $GITHUB_OUTPUT - name: Delete working branch if it already exists run: git push --delete origin ${{ env.working_branch }} || true - name: Commit latest PyTorch release version to new branch