Skip to content

Commit

Permalink
Repro
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 14, 2024
1 parent 315e265 commit 5f1f31c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/repro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Repro
on: [push]

permissions:
contents: read

jobs:
install:
name: Rust 1.80
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: ./
with:
toolchain: 1.0
- run: rustup toolchain list
- run: rustc --version
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ runs:
fi
elif [[ $toolchain =~ ^stable' 'minus' '[0-9]+' 'releases?$ ]]; then
echo "toolchain=1.$((($(date +%s)/60/60/24-16569)/7/6-${toolchain//[^0-9]/}))" >> $GITHUB_OUTPUT
#elif [[ $toolchain =~ ^1\\.[0-9]+$ ]]; then
else
echo "toolchain=$toolchain" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 5f1f31c

Please sign in to comment.