We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1c4d6 commit bb60af7Copy full SHA for bb60af7
.github/workflows/ci.yml
@@ -9,6 +9,7 @@ on:
9
env:
10
CARGO_TERM_COLOR: always
11
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
12
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
13
14
jobs:
15
test_and_publish:
@@ -20,6 +21,13 @@ jobs:
20
21
- name: Run tests
22
run: cargo test --verbose
23
- name: Build
- run: cargo build --verbose
24
- - name: Publish
+ run: cargo build --profile release --verbose
25
+ - name: Publish to crates.io
26
run: cargo caw-publish
27
+ - name: Creating a zip file
28
+ run: zip http_status_code.zip target/release/http_status_code
29
+ - name: Publish to Github Release
30
+ uses: softprops/action-gh-release@v2
31
+ with:
32
+ files: http_status_code.zip
33
+
0 commit comments