From def9704facde8ad0029309adc81e21f93a7d42d8 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Sat, 7 Jan 2023 15:03:03 +0530 Subject: [PATCH] chore: archive nyx state file after publishing --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 384f77698..2ad50c451 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -194,4 +194,10 @@ jobs: run: ./gradlew nyxMake nyxMark nyxPublish release --stacktrace env: ReleaseAndroidIDE: true - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Archive Nyx state file + uses: actions/upload-artifact@v3 + if: ${{ always() }} + with: + name: .nyx-state-${{ github.job }}.json + path: build/nyx-state.json \ No newline at end of file