Working installation process #3
Workflow file for this run
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: Deploy pkg to GitHub Packages | |
## only triger manual | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: Install Dependencies | |
run: ./dependencies.sh -yd | |
- name: Configure | |
run: sudo ./configure.sh -yd | |
- name: Install cargo deb | |
run: cargo install cargo-deb | |
- name: Build | |
run: cargo deb | |
- name: Upload to GitHub |