File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI Builds
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ release :
47
58permissions :
69 contents : write
1316 os : [windows-latest, ubuntu-latest]
1417 steps :
1518 - name : Checkout
16- uses : actions/checkout@v4
19+ uses : actions/checkout@v6
1720
1821 - name : Setup Rust
1922 shell : bash
@@ -31,10 +34,22 @@ jobs:
3134 cargo build --release
3235 mv target/release/hexsaly target/release/hexsaly.bin
3336 fi
34-
37+
3538 - name : Upload artifact
36- uses : actions/upload-artifact@v4
39+ uses : actions/upload-artifact@v6
3740 with :
3841 name : Hexsaly-${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Windows' }}
3942 path : target/release/hexsaly${{ matrix.os == 'windows-latest' && '.exe' || '.bin' }}
40- if-no-files-found : error
43+ if-no-files-found : error
44+
45+ - name : Release
46+ uses : softprops/action-gh-release@v3
47+ if : github.ref_type == 'tag'
48+ with :
49+ body : |
50+ # Hexsaly ${{ github.ref }}
51+
52+
53+ [](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
54+
55+ files : target/release/hexsaly*
You can’t perform that action at this time.
0 commit comments