diff --git a/.github/workflows/sass-compile.yml b/.github/workflows/sass-compile.yml index 0f4c746..2c66692 100644 --- a/.github/workflows/sass-compile.yml +++ b/.github/workflows/sass-compile.yml @@ -38,11 +38,21 @@ jobs: sass "../../scss/debugger.scss" -q --no-source-map > "debugger.css" sass "../../scss/debugger.scss" -q --no-source-map --style compressed > "debugger.min.css" - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - #if: ${{ github.ref == 'refs/heads/master' }} + - name: Upload `.css` build artifact + uses: actions/upload-artifact@v4 + if: ${{ github.actor == 'aziascreations' }} with: - name: QueryLogsAMQP-Nightly + name: nibblepoker.min.css + path: "./htdocs/css/nibblepoker.css" + if-no-files-found: error + retention-days: 90 + compression-level: 9 + + - name: Upload `.min.css` build artifact + uses: actions/upload-artifact@v4 + if: ${{ github.actor == 'not_aziascreations' }} + with: + name: nibblepoker.min.css path: "./htdocs/css/nibblepoker.min.css" if-no-files-found: error retention-days: 90