mirror of
https://github.com/nestriness/warp.git
synced 2025-12-13 02:15:42 +02:00
Fi for release
This commit is contained in:
3
.github/workflows/warp.yml
vendored
3
.github/workflows/warp.yml
vendored
@@ -57,11 +57,11 @@ jobs:
|
|||||||
run: cargo build --target ${{ matrix.settings.target }} --manifest-path ./moq-pub/Cargo.toml --release
|
run: cargo build --target ${{ matrix.settings.target }} --manifest-path ./moq-pub/Cargo.toml --release
|
||||||
|
|
||||||
- name: Copy and rename artifacts (Linux)
|
- name: Copy and rename artifacts (Linux)
|
||||||
if: ${{ matrix.settings.host == 'ubuntu-20.04' }}
|
|
||||||
run: |
|
run: |
|
||||||
cp target/${{ matrix.settings.target }}/release/moq-pub ./warp
|
cp target/${{ matrix.settings.target }}/release/moq-pub ./warp
|
||||||
|
|
||||||
- name: Publish artifacts (${{ matrix.settings.host }})
|
- name: Publish artifacts (${{ matrix.settings.host }})
|
||||||
|
if: ${{ github.event_name != 'release' }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.settings.asset_name }}
|
name: ${{ matrix.settings.asset_name }}
|
||||||
@@ -70,6 +70,7 @@ jobs:
|
|||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
- name: Publish release for (${{ matrix.settings.host }})
|
- name: Publish release for (${{ matrix.settings.host }})
|
||||||
|
if: ${{ github.event_name == 'release' }}
|
||||||
uses: svenstaro/upload-release-action@2.7.0
|
uses: svenstaro/upload-release-action@2.7.0
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user