■ ■ ■ ■ ■ ■
.github/workflows/release.yml
| skipped 20 lines |
21 | 21 | | archive: zip |
22 | 22 | | steps: |
23 | 23 | | - uses: actions/checkout@master |
24 | | - | - name: Compile and release |
| 24 | + | - name: Compile |
25 | 25 | | uses: rust-build/[email protected] |
26 | 26 | | env: |
27 | 27 | | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
28 | 28 | | with: |
29 | 29 | | RUSTTARGET: ${{ matrix.target }} |
30 | 30 | | ARCHIVE_TYPES: ${{ matrix.archive }} |
| 31 | + | - name: Upload artifact |
| 32 | + | uses: actions/upload-artifact@v3 |
| 33 | + | with: |
| 34 | + | name: Binary |
| 35 | + | path: | |
| 36 | + | ${{ steps.compile.outputs.BUILT_ARCHIVE }} |
| 37 | + | ${{ steps.compile.outputs.BUILT_CHECKSUM }} |
31 | 38 | | |