From b8a27276385358c9d8a98c23c6b1f6f9acf97f83 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 9 Apr 2024 16:24:25 -0400 Subject: [PATCH] Stashing history file for temp while changing branch. --- .github/workflows/memote.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/memote.yml b/.github/workflows/memote.yml index 579e7f1..0bd4869 100644 --- a/.github/workflows/memote.yml +++ b/.github/workflows/memote.yml @@ -36,9 +36,6 @@ jobs: echo "custom_tests=syn_elong/custom_tests" >> $GITHUB_ENV echo "MEMOTE_LOCATION=results" >> $GITHUB_ENV echo "PYTHONPATH=$PYTHONPATH:concerto_path" >> $GITHUB_ENV - ls - pwd - - name: Memote short run run: | @@ -71,7 +68,9 @@ jobs: memote report snapshot \ --filename="${{ env.snapshot }}" \ --custom-tests=${{ env.custom_tests }} - git add "${{ env.snapshot }}" + git stash + git checkout -b gh-pages + git stash pop - name: Auto-commit results uses: stefanzweifel/git-auto-commit-action@v4.4.0