aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-04 09:11:40 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-01-04 09:11:40 -0600
commit5bce5396e1f302bf1e1fffec7fa17cd9bacff775 (patch)
tree85586b229e916569e7c389c72c9677557a323771 /.github/workflows
parentb1176e316f918425fc20dd7b3a25b3dac8eb4783 (diff)
downloadslskd-5bce5396e1f302bf1e1fffec7fa17cd9bacff775.tar.gz
build web and dotnet in separate steps
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 6 insertions, 4 deletions
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