Skip to content

Commit

Permalink
Remove nix flake show job. Fix manifests download artifact path.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchmindtree committed Jun 2, 2023
1 parent 18b83d6 commit 93c89e3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/refresh-manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
with:
name: fuellabs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - run: nix run .#refresh-manifests
# timeout-minutes: 120
# - name: validate changed nix files
# run: |
# files=( $(git diff --name-only '*.nix') )
# echo "${#files[*]} nix files changed: ${files[*]}"
# if [[ "${#files[*]}" -ne 0 ]]; then
# nix-instantiate --parse "${files[@]}" >/dev/null
# fi
- run: nix run .#refresh-manifests
timeout-minutes: 120
- name: validate changed nix files
run: |
files=( $(git diff --name-only '*.nix') )
echo "${#files[*]} nix files changed: ${files[*]}"
if [[ "${#files[*]}" -ne 0 ]]; then
nix-instantiate --parse "${files[@]}" >/dev/null
fi
- uses: actions/upload-artifact@v3
with:
name: manifests
Expand Down Expand Up @@ -56,7 +56,6 @@ jobs:
with:
name: fuellabs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake show
- run: nix build --print-build-logs --no-update-lock-file .#${{ matrix.package }}

download-manifests-and-commit:
Expand All @@ -71,6 +70,7 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: manifests
path: manifests/
- name: Check and commit changes
run: |
git config --local user.email "[email protected]"
Expand Down

0 comments on commit 93c89e3

Please sign in to comment.