Bump tailwindcss from 3.3.3 to 3.3.5 (#63) #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish a Release Preview | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: php-actions/composer@v6 | |
with: | |
dev: no | |
php_version: "8.0" | |
- run: | | |
sudo apt-get install zip -y | |
zip -r AntCMS.zip . | |
working-directory: ./src | |
- run: | | |
npm install -D tailwindcss | |
rm -f ./src/Themes/Default/Assets/Dist/tailwind.css | |
npx tailwindcss -i ./src/Themes/Default/Assets/tailwind.css -o ./src/Themes/Default/Assets/Dist/tailwind.css --minify | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "./src/AntCMS.zip" | |
prerelease: true | |
allowUpdates: true | |
artifactErrorsFailBuild: true | |
generateReleaseNotes: true | |
name: "Preview Build" | |
tag: "latest-preview" | |
body: "A rolling preview release of AntCMS that is updated with each commit." |