Skip to content

Commit 184febc

Browse files
authored
Update rust.yml
1 parent fa1b434 commit 184febc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/rust.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
upload-assets:
2222
strategy:
2323
matrix:
24-
os:
25-
- ubuntu-latest
26-
- macos-latest
27-
- windows-latest
24+
include:
25+
- os: ubuntu-latest
26+
extra: LICENSE,Readme.md,start.sh
27+
- os: macos-latest
28+
extra: LICENSE,Readme.md,start.sh
29+
- os: windows-latest
30+
extra: LICENSE,Readme.md,start.bat
2831
runs-on: ${{ matrix.os }}
2932
steps:
3033
- uses: actions/checkout@v3
@@ -33,6 +36,9 @@ jobs:
3336
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
3437
# Note that glob pattern is not supported yet.
3538
bin: discord_bot
39+
# (optional) Comma-separated list of additional files to be included to archive.
40+
# Note that glob pattern is not supported yet.
41+
include: ${{ matrix.extra }}
3642
# (optional) On which platform to distribute the `.tar.gz` file.
3743
# [default value: unix]
3844
# [possible values: all, unix, windows, none]

0 commit comments

Comments
 (0)