fix: embedded instructions #26
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: Build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: {} | |
jobs: | |
install-criticalup-build-run-my-app: | |
name: Install CriticalUp, Install Ferrocene, Build and Run my app | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Make sure CriticalUp is installed and available | |
shell: bash | |
run: | | |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ferrocene/criticalup/releases/latest/download/criticalup-installer.sh | sh | |
- name: Test if CriticalUp is installed | |
run: | | |
criticalup --help | |
- name: Authenticate CriticalUp | |
run: | | |
criticalup auth set ${{ secrets.CRITICALUP_TOKEN }} | |
- name: Install Ferrocene toolchain from the project manifest (criticalup.toml) | |
run: | | |
criticalup install | |
- name: Run my app via Ferrocene and its toolchain | |
run: | | |
criticalup run cargo run --release |