File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : AutoBuild
2
+ permissions :
3
+ contents : write
4
+ on :
5
+ push :
6
+ tags :
7
+ - ' *'
8
+ pull_request :
9
+ tags :
10
+ - ' *'
11
+
12
+ env :
13
+ CARGO_TERM_COLOR : always
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : windows-latest
18
+
19
+ steps :
20
+ - name : Set up Rust
21
+ uses : actions-rs/toolchain@v1
22
+ with :
23
+ toolchain : stable
24
+
25
+ - name : Check out code
26
+ uses : actions/checkout@v2
27
+
28
+ - name : Build
29
+ run : cargo build --release --target x86_64-pc-windows-msvc
30
+
31
+ - name : Create ZIP
32
+ run : |
33
+ cd target/x86_64-pc-windows-msvc/release
34
+ 7z a fast-cf.zip fast-cf.exe ../../../cloudflare_ipv4.txt
35
+ - name : Upload to GitHub Releases
36
+ uses : softprops/action-gh-release@v1
37
+ with :
38
+ files : target/x86_64-pc-windows-msvc/release/fast-cf.zip
39
+ env :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments