Skip to content

Commit

Permalink
Update Workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Hadley <[email protected]>
  • Loading branch information
ahadley1124 committed Feb 16, 2024
1 parent ba60292 commit 52ac57a
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Rust
uses: docker://ubuntu:latest
- name: Install Rust
run: |
sudo apt update
sudo apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Cargo
run: sudo apt-get install cargo

#install_rust_dependencies:
# needs: install_rust
# runs-on: ubuntu-latest
# # allow the
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: cargo build --release

upload:
needs: build
runs-on: ubuntu-latest
steps:
- name: Upload Release
uses: actions/upload-release@v1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/ashland-area-amateur-radio-club
asset_name: aaarc
tag: ${{ github.ref }}
release_title: ${{ github.ref }}

build_docker_image:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 52ac57a

Please sign in to comment.