Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/release-binary-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ jobs:
id: archive
shell: bash
env:
TARGET: ${{ matrix.target }}
TAG: ${{ github.event.release.tag_name }}
FILENAME: ${{ matrix.binName }}-$TAG-$TARGET.tar.gz
FILENAME: ${{ matrix.binName }}-${{ github.event.release.tag_name }}-${{ matrix.target }}.tar.gz
run: |
tar -czvf "$FILENAME" README.md LICENSE -C "target/$TARGET/release" "${{ matrix.binName }}"
tar -czvf "$FILENAME" README.md LICENSE -C "target/${{ matrix.target }}/release" "${{ matrix.binName }}"
echo "::set-output name=filename::$FILENAME"
- name: Upload Archive
uses: ncipollo/[email protected]
Expand All @@ -76,15 +74,15 @@ jobs:
- name: Archive deb artifact
uses: actions/upload-artifact@v2
with:
name: t-rec-$TAG-$TARGET.deb
path: target/$TARGET/debian/t-rec*.deb
name: t-rec-${{ github.event.release.tag_name }}-x86_64-unknown-linux-musl.deb
path: target/x86_64-unknown-linux-musl/debian/t-rec*.deb
- name: upload deb file
uses: ncipollo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: target/$TARGET/debian/t-rec*.deb
artifacts: target/x86_64-unknown-linux-musl/debian/t-rec*.deb
artifactContentType: application/octet-stream
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
Expand Down