Skip to content

Commit 6599c66

Browse files
committed
add CI badge
1 parent 5b8b224 commit 6599c66

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: CI
22

33
on:
44
push:
@@ -36,7 +36,7 @@ jobs:
3636
args: --target ${{ matrix.os }} --release
3737

3838
- name: Move octool from target/${{ matrix.os }}/release/octool to .
39-
run: mv target/${{ matrix.os }}/release/octool.* .
39+
run: mv target/${{ matrix.os }}/release/octool* .
4040

4141
- name: Create zip archive for ${{ matrix.os }} build
4242
run: zip ${{ matrix.os }}.zip octool octool.exe README.md LICENSE tool_config_files/octool_config.json
@@ -53,7 +53,7 @@ jobs:
5353
uses: svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575
5454
with:
5555
repo_token: ${{ secrets.GITHUB_TOKEN }}
56-
file: output/*.zip
56+
file: *.zip
5757
tag: ${{ github.ref }}
5858
file_glob: true
5959

@@ -91,6 +91,6 @@ jobs:
9191
uses: svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575
9292
with:
9393
repo_token: ${{ secrets.GITHUB_TOKEN }}
94-
file: output/*.zip
94+
file: *.zip
9595
tag: ${{ github.ref }}
96-
file_glob: true
96+
file_glob: true

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![license](https://img.shields.io/github/license/rusty-bits/octool.svg)](https://github.com/rusty-bits/octool/blob/main/LICENSE)
44
[![downloads](https://img.shields.io/github/downloads/rusty-bits/octool/total)]()
5+
[![CI](https://github.com/rusty-bits/octool/actions/workflows/ci.yml/badge.svg)]()
56
[![release](https://img.shields.io/github/v/release/rusty-bits/octool?display_name=tag)](https://github.com/rusty-bits/octool/releases)
67

78
A small project to help me continue my learning of the Rust language. All suggestions and criticisms are welcome (but that doesn't mean I'll get to them in a timely manner, I can be lazy at times)

0 commit comments

Comments
 (0)