Skip to content

Commit

Permalink
Fi for release
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Nov 24, 2023
1 parent 4778998 commit 5ce2de2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/warp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ jobs:
run: cargo build --target ${{ matrix.settings.target }} --manifest-path ./moq-pub/Cargo.toml --release

- name: Copy and rename artifacts (Linux)
if: ${{ matrix.settings.host == 'ubuntu-20.04' }}
run: |
cp target/${{ matrix.settings.target }}/release/moq-pub ./warp
- name: Publish artifacts (${{ matrix.settings.host }})
if: ${{ github.event_name != 'release' }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.settings.asset_name }}
Expand All @@ -70,6 +70,7 @@ jobs:
retention-days: 5

- name: Publish release for (${{ matrix.settings.host }})
if: ${{ github.event_name == 'release' }}
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5ce2de2

Please sign in to comment.