Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cargo audit advisories. #57

Merged
merged 4 commits into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
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
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ jobs:
command: build
args: --release --target ${{ matrix.target }}
use-cross: ${{ matrix.name == 'Linux' || matrix.target == 'aarch64-unknown-linux-musl' }}
- name: Package
shell: bash
run: |
cd target/${{ matrix.target }}/release
tar czf ../../../elan-${{ matrix.release-target-name || matrix.target }}.tar.gz elan-init
if: matrix.os != 'windows-latest'
- name: Package
run: |
cd target/${{ matrix.target }}/release
Compress-Archive elan-init.exe ../../../elan-${{ matrix.release-target-name || matrix.target }}.zip
if: matrix.os == 'windows-latest'
- uses: actions/upload-artifact@v2
with:
name: build-${{ matrix.name }}
path: elan-${{ matrix.release-target-name || matrix.target }}*
if-no-files-found: error
- name: Test
if: matrix.target != 'aarch64-unknown-linux-musl'
uses: actions-rs/cargo@v1
Expand All @@ -81,22 +97,6 @@ jobs:
mkdir foo4; cd foo4
leanpkg init foo4
leanpkg build
- name: Package
shell: bash
run: |
cd target/${{ matrix.target }}/release
tar czf ../../../elan-${{ matrix.release-target-name || matrix.target }}.tar.gz elan-init
if: matrix.os != 'windows-latest'
- name: Package
run: |
cd target/${{ matrix.target }}/release
Compress-Archive elan-init.exe ../../../elan-${{ matrix.release-target-name || matrix.target }}.zip
if: matrix.os == 'windows-latest'
- uses: actions/upload-artifact@v2
with:
name: build-${{ matrix.name }}
path: elan-${{ matrix.release-target-name || matrix.target }}*
if-no-files-found: error
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
Expand Down
Loading