Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

πŸš€: 0.1.0 #18

Merged
merged 3 commits into from
Jun 26, 2022
Merged
Changes from 1 commit
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
Next Next commit
βš™: Add assets workflow
  • Loading branch information
TheAwiteb committed Jun 26, 2022
commit 0615a8c92763578595c58fdd2c6f23f5ed396cdf
32 changes: 32 additions & 0 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Assets

on:
release:
types:
- created

jobs:
asset:
name: ${{ matrix.target }} asset
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- name: Create asset
uses: rust-build/rust-build.action@v1.3.2
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
EXTRA_FILES: "README.md LICENSE"
MINIFY: true
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}