diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/publish.yml | 38 |
2 files changed, 2 insertions, 40 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5115f72..57bef316 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: name: web path: src/slskd/wwwroot - name: Publish ${{ matrix.runtime }} - run: bin/publish --no-web-build --runtime ${{ matrix.runtime }} + run: bin/publish --no-build --runtime ${{ matrix.runtime }} --version-suffix $(echo $GITHUB_SHA | cut -c1-8) - name: Upload a Build Artifact uses: actions/upload-artifact@v2 @@ -49,4 +49,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-8) .
\ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 135a9bf4..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,38 +0,0 @@ -# # This is a basic workflow to help you get started with Actions - -# name: Publish - -# # Controls when the action will run. -# on: -# # Triggers the workflow on push or pull request events but only for the master branch -# push: -# branches: [ master ] - -# # Allows you to run this workflow manually from the Actions tab -# workflow_dispatch: - -# # A workflow run is made up of one or more jobs that can run sequentially or in parallel -# jobs: -# web: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v2 -# - name: Build Static Web Content -# run: bin/build --web-only -# publish: -# runs-on: ubuntu-latest -# needs: web -# strategy: -# matrix: -# runtime: ["win-x64", "linux-x64", "linux-musl-x64", "linux-arm64", "osx-x64"] -# steps: -# - uses: actions/checkout@v2 -# - name: Publish ${{ matrix.runtime }} -# run: bin/publish --runtime ${{ matrix.runtime }} - -# - name: Upload a Build Artifact -# uses: actions/upload-artifact@v2 -# with: -# name: ${{ matrix.runtime }} -# path: dist/${{ matrix.runtime }} - |
