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"