-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.03 KB
/
artifacts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Artifacts
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: make artifacts
# Note: I'd prefer to use commit artifacts here, but GitHub does not
# expose a URL to refer to the latest run of a specific workflow.
- name: Upload flake-graph.svg
uses: exuanbo/actions-deploy-gist@v1.1.4
with:
gist_id: "a0b5b3e0afdaaa8e02ace16b955da7ec"
token: ${{ secrets.GIST_TOKEN }}
file_path: out/flake-graph.svg
gist_file_name: flake-graph.svg
- name: Upload topology.svg
uses: exuanbo/actions-deploy-gist@v1.1.4
with:
gist_id: "a0b5b3e0afdaaa8e02ace16b955da7ec"
token: ${{ secrets.GIST_TOKEN }}
file_path: out/topology.svg
gist_file_name: topology.svg