From edfb1b92cbf1612096fa5ca85ec3f4994194d660 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Sun, 8 Mar 2026 22:34:57 -0500 Subject: [PATCH] Update ci --- .gitea/workflows/sonarqube_scans.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 4d7b11d..c7f0cec 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -7,9 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Echo - run: echo "Ref ${{ gitea.SHA::5 }}" - - name: Checkout repo uses: actions/checkout@v5 @@ -33,8 +30,14 @@ jobs: - name: Compile assets run: APP_ENV=build php bin/console asset-map:compile + - name: Create artifact + run: | + file="${{ gitea.REF_NAME }}.tar.gz" + touch $file + tar -czf $file --exclude=$file . + - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: artifact - path: ./ + name: "${{ gitea.REF_NAME }}" + path: "${{ gitea.REF_NAME }}.tar.gz"