Delete update_rust_toolchains.yml (#1698)
This commit is contained in:
parent
84a87f1da8
commit
00740190a7
28
.github/workflows/update_rust_toolchain.yml
vendored
28
.github/workflows/update_rust_toolchain.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
name: Update Rust toolchain
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Debug
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
update-rust-toolchains:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: update_from_ci
|
|
||||||
- uses: actions/setup-python@v3
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
|
|
||||||
- name: Setup Git
|
|
||||||
run: |
|
|
||||||
git config --local user.email "actions@github.com"
|
|
||||||
git config --local user.name "GitHub Actions"
|
|
||||||
|
|
||||||
- name: Commit & push data
|
|
||||||
run: |
|
|
||||||
sed -i 's/rustup toolchain install nightly[0-9a-zA-Z\-]*/\`date +"rustup toolchain install nightly-%Y-%m-%d"\`/' ./.github/workflows/build_and_test.yml
|
|
||||||
git add -u
|
|
||||||
git commit -m "Update rust toolchain & time [$(date +'%Y-%m-%d %H:%M')]"
|
|
||||||
git push
|
|
Loading…
x
Reference in New Issue
Block a user