Skip to content

Fix upload artifact actions version #671

Fix upload artifact actions version

Fix upload artifact actions version #671

Workflow file for this run

name: develop
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup system
run: sudo ./setup.sh --local
- name: Build gridlabd
run: sudo ./build.sh --system --parallel
- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh
- name: Validate system
run: sudo gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( sudo utilities/save_validation_errors ; false )
- name: Upload artifacts on failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: validate-result
path: |
validate.txt
validate.tar.gz