Skip to content

Commit fd740b4

Browse files
committed
fix: crate keywords exceed 5 items
1 parent 342b5c5 commit fd740b4

File tree

2 files changed

+1
-60
lines changed

2 files changed

+1
-60
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,65 +6,6 @@ on:
66
- 'v*'
77

88
jobs:
9-
build:
10-
name: Publish for ${{ matrix.os }}
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
name: [
15-
linux,
16-
windows,
17-
macos
18-
]
19-
20-
include:
21-
- name: linux
22-
os: ubuntu-latest
23-
artifact_name: http-server
24-
asset_name: http-server-linux
25-
asset_extension: .tar.gz
26-
27-
- name: windows
28-
os: windows-latest
29-
artifact_name: http-server.exe
30-
asset_name: http-server-windows
31-
asset_extension: .zip
32-
33-
- name: macos
34-
os: macos-latest
35-
artifact_name: http-server
36-
asset_name: http-server-macos
37-
asset_extension: .tar.gz
38-
39-
steps:
40-
- uses: actions/checkout@v1
41-
42-
- name: Set env
43-
run: |
44-
echo RELEASE_VERSION=$(echo ${GITHUB_REF:10}) >> $GITHUB_ENV
45-
echo name=ASSET_NAME::http-server-$RELEASE_VERSION$ >> $GITHUB_ENV
46-
shell: bash
47-
48-
- name: cargo build
49-
uses: actions-rs/cargo@v1
50-
with:
51-
command: build
52-
args: --release --locked
53-
54-
- name: Archive Release
55-
shell: bash
56-
run: |
57-
cp target/release/main http-server
58-
tar czf "${{ env.ASSET_NAME }}" "${{ env.RELEASE_VERSION }}"
59-
60-
- name: Upload binaries to release
61-
uses: svenstaro/upload-release-action@v1-release
62-
with:
63-
repo_token: ${{ secrets.GITHUB_TOKEN }}
64-
file: ${{ env.ASSET_NAME }}
65-
asset_name: ${{ env.ASSET_NAME }}
66-
tag: ${{ github.ref }}
67-
689
create-release:
6910
name: Create Release
7011
runs-on: ubuntu-latest

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2018"
66
description = "Simple and configurable command-line HTTP server"
77
repository = "https://github.com/EstebanBorai/http-server"
88
categories = ["web-programming", "web-programming::http-server"]
9-
keywords = ["configurable", "file", "http", "server", "serve", "static"]
9+
keywords = ["configurable", "http", "server", "serve", "static"]
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

0 commit comments

Comments
 (0)