File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 1010 - ' *'
1111
1212permissions :
13- contents : read
13+ contents : write # Publish sed instead of discarding
1414
1515# End the current execution if there is a new changeset in the PR
1616concurrency :
5555 run : |
5656 ## Build Rust sed binary
5757 cd 'sed'
58- cargo build --release
58+ cargo build --config=profile.release.strip=true --profile=release #-fast
59+ zstd -19 target/release/sed -o ../sed-x86_64-unknown-linux-gnu.zst
60+ - name : Publish latest commit
61+ uses : softprops/action-gh-release@v2
62+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
63+ with :
64+ tag_name : latest-commit
65+ draft : false
66+ prerelease : true
67+ files : |
68+ sed-x86_64-unknown-linux-gnu.zst
69+ env :
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5971
6072 # ## Run tests
6173 - name : Run GNU sed testsuite
You can’t perform that action at this time.
0 commit comments