Skip to content

Commit

Permalink
feat: wrap proper files in assets
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelam committed Jan 21, 2024
1 parent 1ea46da commit 8306ce9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.asset_name }}
path: target/${{ matrix.target }}/release/minibreak
path: |
target/${{ matrix.target }}/release/minibreak${{ matrix.target == 'x86_64-pc-windows-gnu' && '.exe' || '' }}
release:
needs: build
Expand All @@ -63,24 +64,24 @@ jobs:
draft: false
prerelease: false

- name: Upload Linux Asset
- name: Upload Windows Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: downloads/minibreak-linux
asset_name: minibreak-linux
asset_path: downloads/minibreak-windows.exe
asset_name: minibreak-windows.exe
asset_content_type: application/octet-stream

- name: Upload Windows Asset
- name: Upload Linux Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: downloads/minibreak-windows.exe
asset_name: minibreak-windows.exe
asset_path: downloads/minibreak-linux
asset_name: minibreak-linux
asset_content_type: application/octet-stream

- name: Upload macOS Asset
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ MiniBreak is a simple, intuitive command-line application designed to give progr

Instructions on how to install MiniBreak.

### Use cargo if you are familiar with cargo
```bash
cargo install minibreak
```

### Use install script
```bash

```

## Usage

After installation, simply type `minibreak` in your command line and press enter. Your windows will minimize, and your desktop wallpaper will update to the latest Bing image.
Expand Down

0 comments on commit 8306ce9

Please sign in to comment.