From 5155140146f6475b57fba001c379bc1e01ea21a7 Mon Sep 17 00:00:00 2001 From: Brian Gann Date: Fri, 27 Sep 2024 00:45:18 -0400 Subject: [PATCH] update archive --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2efe963..ceb631d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,12 +49,19 @@ jobs: version: latest args: -v build:ci + - name: Get PR + uses: jwalton/gh-find-current-pr@master + id: findPr + with: + state: open + - name: Archive Build uses: actions/upload-artifact@v4 + if: success() && steps.findPr.outputs.number env: - PR_NUMBER: ${{ github.event.number }} + PR: ${{ steps.findPr.outputs.pr }} with: - name: grafana-kiosk-${{env.PR_NUMBER}}.zip + name: grafana-kiosk-${{env.PR}}.zip path: bin overwrite: true retention-days: 7