Alter docker-compose #14
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: Static executable | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "*.*.*" | |
jobs: | |
build-executables: | |
name: "build static executables" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Build static executable | |
run: | | |
mkdir bin | |
nix build .#easy-rider-static && cp result/bin/* bin | |