From 5bce5396e1f302bf1e1fffec7fa17cd9bacff775 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 4 Jan 2021 09:11:40 -0600 Subject: build web and dotnet in separate steps --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7307efc..6b85d309 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Build - run: ./bin/build + - name: Web + run: ./bin/build --web-only + - name: Dotnet + run: ./bin/build --dotnet-only - name: Upload Static Web Content uses: actions/upload-artifact@v2 with: @@ -34,7 +36,7 @@ jobs: name: web path: src/slskd/wwwroot - name: Publish ${{ matrix.runtime }} - run: bin/publish --no-prebuild --runtime ${{ matrix.runtime }} --version-suffix $(echo $GITHUB_SHA | cut -c1-8) + run: bin/publish --no-prebuild --runtime ${{ matrix.runtime }} --version-suffix $(echo $GITHUB_SHA | cut -c1-7) - name: Upload a Build Artifact uses: actions/upload-artifact@v2 @@ -49,4 +51,4 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build - run: docker build -t slskd/slskd:$(echo $GITHUB_SHA | cut -c1-8) . \ No newline at end of file + run: docker build -t slskd/slskd:$(echo $GITHUB_SHA | cut -c1-7) . \ No newline at end of file -- cgit v1.2.3