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 :
6161 run : |
6262 ## Build Rust sed binary
6363 cd 'sed'
64- cargo build --release
64+ cargo build --config=profile.release.strip=true --profile=release #-fast
65+ zstd -19 target/release/sed -o ../sed-x86_64-unknown-linux-gnu.zst
66+ - name : Publish latest commit
67+ uses : softprops/action-gh-release@v2
68+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
69+ with :
70+ tag_name : latest-commit
71+ draft : false
72+ prerelease : true
73+ files : |
74+ sed-x86_64-unknown-linux-gnu.zst
75+ env :
76+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6577
6678 # ## Run tests
6779 - name : Run GNU sed testsuite
You can’t perform that action at this time.
0 commit comments