Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/latest-pytorch-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/pytorch-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading