File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1212 create-release :
1313 name : create-release
1414 runs-on : ubuntu-latest
15- env :
15+ # env:
1616 # Set to force version number, e.g., when no tag exists.
17- LEET_VERSION : TEST-0.0.3
17+ # LEET_VERSION: TEST-0.0.4
1818 outputs :
1919 upload_url : ${{ steps.release.outputs.upload_url }}
2020 leet_version : ${{ env.LEET_VERSION }}
@@ -113,7 +113,10 @@ jobs:
113113 with :
114114 use-cross : ${{ matrix.builds.cross }}
115115 command : build
116- args : --release --target ${{ matrix.builds.target }} ${{ matrix.builds.target_bins }}
116+ # args: --release --target ${{ matrix.builds.target }} ${{ matrix.builds.target_bins }}
117+ args : >
118+ --release --target ${{ matrix.builds.target }}
119+ ${{ matrix.builds.target_bins }}
117120
118121 - name : Artifact upload
119122 uses : actions/upload-artifact@v2
@@ -122,6 +125,7 @@ jobs:
122125 path : target/${{ matrix.builds.target }}/release/cross-compile-sample
123126
124127 - name : Upload release archive
128+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
125129 uses : softprops/action-gh-release@v1
126130 env :
127131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments