mirror of
https://github.com/softinio/Fishee.git
synced 2025-02-22 05:26:05 -08:00
release assets to include os and arch in name
This commit is contained in:
parent
75acb0b24c
commit
6605796136
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build-and-release.yml
vendored
8
.github/workflows/build-and-release.yml
vendored
|
@ -21,12 +21,12 @@ jobs:
|
|||
run: |
|
||||
swift build -c release --arch ${{ matrix.arch }}
|
||||
mkdir -p artifacts/macos-${{ matrix.arch }}
|
||||
cp .build/release/fishee artifacts/macos-${{ matrix.arch }}/
|
||||
cp .build/release/fishee artifacts/macos-${{ matrix.arch }}/fishee-macos-${{ matrix.arch }}-${{ github.event.release.tag_name }}
|
||||
|
||||
- name: Upload macOS artifacts as release assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: artifacts/macos-${{ matrix.arch }}/fishee
|
||||
files: artifacts/macos-${{ matrix.arch }}/fishee-macos-${{ matrix.arch }}-${{ github.event.release.tag_name }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -43,11 +43,11 @@ jobs:
|
|||
run: |
|
||||
swift build -c release
|
||||
mkdir -p artifacts/linux
|
||||
cp .build/release/fishee artifacts/linux/
|
||||
cp .build/release/fishee artifacts/linux/fishee-linux-${{ github.event.release.tag_name }}
|
||||
|
||||
- name: Upload Linux artifacts as release assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: artifacts/linux/fishee
|
||||
files: artifacts/linux/fishee-linux-${{ github.event.release.tag_name }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue