From c33f551813b7aeff333f4b948000aad2a8390dd3 Mon Sep 17 00:00:00 2001 From: Peter Makowski Date: Tue, 18 Jun 2024 16:55:05 +0200 Subject: [PATCH] test 3.4 upload Signed-off-by: Peter Makowski --- .github/workflows/upload.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 82049c00add..d42e463927e 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -4,6 +4,7 @@ on: branches: - main - "3.*" + - "test-34-upload" jobs: upload-build: if: github.repository_owner == 'canonical' @@ -14,7 +15,7 @@ jobs: REACT_APP_GIT_SHA: ${{ github.sha }} strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Get branch name @@ -40,18 +41,4 @@ jobs: run: cd build && tar -czf ../${{env.PACKAGE_NAME}} ./ && ls -hs ../${{env.PACKAGE_NAME}} - name: Install upload-assets snap run: sudo snap install upload-assets - - name: Upload to assets server - run: upload-assets --url-path ${{env.PACKAGE_NAME}} ${{env.PACKAGE_NAME}} - env: - UPLOAD_ASSETS_API_TOKEN: ${{secrets.UPLOAD_ASSETS_API_TOKEN}} - - name: Create issue on failure - if: failure() - uses: JasonEtco/create-an-issue@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO: ${{ github.repository }} - RUN_ID: ${{ github.run_id }} - WORKFLOW: ${{ github.workflow }} - with: - filename: .github/ISSUE_TEMPLATE/ci-failure.md - update_existing: true +