Skip to content

Commit 0f68046

Browse files
committed
Install tailwindcss in build-container
1 parent 613d184 commit 0f68046

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/build-container.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,26 @@ jobs:
4545
id: check_client
4646
run: |
4747
if [ -d "MyApp.Client" ] && [ -f "MyApp.Client/package.json" ]; then
48-
echo "client_exists=true" >> $GITHUB_OUTPUT
49-
else
50-
echo "client_exists=false" >> $GITHUB_OUTPUT
48+
echo "requires_npm=true" >> $GITHUB_OUTPUT
5149
fi
5250
5351
- name: Setup Node.js
54-
if: steps.check_client.outputs.client_exists == 'true'
52+
if: steps.check_client.outputs.requires_npm == 'true'
5553
uses: actions/setup-node@v3
5654
with:
5755
node-version: 22
5856

5957
- name: Install npm dependencies
60-
if: steps.check_client.outputs.client_exists == 'true'
58+
if: steps.check_client.outputs.requires_npm == 'true'
6159
working-directory: ./MyApp.Client
6260
run: npm install
6361

62+
- name: Install tailwindcss
63+
run: |
64+
mkdir -p /home/runner/.local/bin
65+
curl -o "/home/runner/.local/bin/tailwindcss" -L "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64"
66+
chmod +x /home/runner/.local/bin/tailwindcss
67+
6468
- name: Install x tool
6569
run: dotnet tool install -g x
6670

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="ServiceStack Pre-Release" value="https://f.feedz.io/servicestack/pre-release/nuget/index.json" />
4+
<add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
55
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
66
</packageSources>
77
</configuration>

0 commit comments

Comments
 (0)