Fixed artifact name, testing author name condition
Update sass-compile.yml
This commit is contained in:
parent
fba4c20b47
commit
f2833469dc
18
.github/workflows/sass-compile.yml
vendored
18
.github/workflows/sass-compile.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user