Check for newer versions of Rust and update #705
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for newer versions of Rust and update | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Check for newer versions of Rust and update | |
runs-on: ubuntu-latest | |
container: | |
image: devraymondsh/ubuntu-rust:latest | |
steps: | |
- name: Update system | |
run: apt-get update && apt-get --yes upgrade | |
- name: Install git | |
run: apt-get install --yes git | |
- name: Clone the repository | |
run: git clone https://github.com/devraymondsh/ubuntu-rust | |
- name: Run the script | |
run: ./ubuntu-rust/check-for-update/check-for-update.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_GITHUB }} |