Skip to content

Commit

Permalink
attempt to fix the pipeline (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucat1 committed Dec 7, 2023
1 parent 5a6478d commit 0691ea0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,24 @@ jobs:
- name: Install musl-tools on linux
run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
if: contains(matrix.platform.os, 'ubuntu')
- name: Setup the rust compilation cache
uses: Swatinem/rust-cache@v2
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: ${{ matrix.platform.command }}
target: ${{ matrix.platform.target }}
args: "--locked --release"
strip: true
- name: Publish action artifact
- name: Publish release artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.paltform.bin }}-${{ matrix.platform.target}}
path: target/${{ matrix.platform.target }}release/${{ matrix.platform.bin }}
name: ${{ matrix.paltform.name }}
path: target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
- name: Publish GitHub release
uses: softprops/action-gh-release@v1
with:
draft: false
files: target/${{ matrix.platform.target }}release/${{ matrix.platform.bin }}
files: "server-*"
# body_path: Changes.md
if: startsWith( github.ref, 'refs/tags/v' )

0 comments on commit 0691ea0

Please sign in to comment.