Skip to content

Change channel to stable-24.08.0 #24

Change channel to stable-24.08.0

Change channel to stable-24.08.0 #24

Workflow file for this run

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