Fixed artifact name, testing author name condition

Update sass-compile.yml
This commit is contained in:
Herwin Bozet (NibblePoker) 2024-11-26 21:02:28 +01:00
parent fba4c20b47
commit f2833469dc

View File

@ -38,11 +38,21 @@ jobs:
sass "../../scss/debugger.scss" -q --no-source-map > "debugger.css" sass "../../scss/debugger.scss" -q --no-source-map > "debugger.css"
sass "../../scss/debugger.scss" -q --no-source-map --style compressed > "debugger.min.css" sass "../../scss/debugger.scss" -q --no-source-map --style compressed > "debugger.min.css"
- name: Upload build artifacts - name: Upload `.css` build artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
#if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.actor == 'aziascreations' }}
with: 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" path: "./htdocs/css/nibblepoker.min.css"
if-no-files-found: error if-no-files-found: error
retention-days: 90 retention-days: 90