File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 44 build_linux :
55 name : Build Linux x86_64
66 runs-on : ubuntu-latest
7- outputs :
8- sha7 : ${{ steps.sha7.sha7 }}
97 steps :
108 - name : Checkout
119 uses : actions/checkout@v2
2624 with :
2725 name : linux64.bin
2826 path : target/release/rust-deploy-test
29- - name : Export SHA7
30- id : sha7
31- run : |
32- echo ::set-output name=sha7::$(git rev-parse --short HEAD)
3327 build_mac :
3428 name : Build macOS x86_64
3529 runs-on : macos-latest
@@ -99,13 +93,21 @@ jobs:
9993 cd ..
10094
10195 ls
96+ - name : Delete latest release
97+ uses : author/action-rollback@stable
98+ if : ${{ github.ref == 'refs/heads/main' }}
99+ with :
100+ tag : latest
101+ env :
102+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
102103 - name : Release latest
103104 uses : softprops/action-gh-release@v1
104105 if : ${{ github.ref == 'refs/heads/main' }}
105106 with :
106- name : Latest commit (${{needs.build_linux.outputs.sha7}})
107+ name : Latest
107108 tag_name : latest
108109 prerelease : true
110+ body : Bleeding edge stuff!
109111 files : |
110112 rust-deploy-test.linux.tar.bz2
111113 rust-deploy-test.macos.tar.bz2
You can’t perform that action at this time.
0 commit comments