mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-10-26 20:57:54 +03:00
Merge pull request #70 from input-output-hk/yvan-sraka-patch-1
Add macOS artifacts to GitHub releases
This commit is contained in:
commit
763e77028c
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -7,7 +7,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-release:
|
build-and-release:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -20,9 +24,11 @@ jobs:
|
|||||||
uses: cachix/install-nix-action@v20
|
uses: cachix/install-nix-action@v20
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: nix build .#packages.x86_64-linux.default --accept-flake-config
|
run: nix build .# --accept-flake-config
|
||||||
|
|
||||||
- name: Create Release and Upload Release Assets
|
- name: Create Release and Upload Release Assets
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: ./result/bin/foliage
|
artifacts: "result/bin/*"
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
draft: false
|
||||||
|
Loading…
Reference in New Issue
Block a user