refactor: updates entrypoint to download artifacts from S3 #301
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: Nix | |
on: | |
push: | |
branches: | |
- master | |
- catalyst-fund* | |
pull_request: | |
jobs: | |
build-server: | |
name: Build server | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/nix-common-setup | |
with: | |
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Flake check | |
run: nix flake check | |
- name: Build | |
run: nix build .#vit-servicing-station-server | |
build: | |
name: Build ${{ matrix.package }} | |
needs: build-server | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- cli | |
- lib | |
- tests | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/nix-common-setup | |
with: | |
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Build | |
run: nix build .#vit-servicing-station-${{ matrix.package }} |