File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
create-release :
13
13
name : create-release
14
14
runs-on : ubuntu-latest
15
- env :
15
+ # env:
16
16
# 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
18
18
outputs :
19
19
upload_url : ${{ steps.release.outputs.upload_url }}
20
20
leet_version : ${{ env.LEET_VERSION }}
@@ -113,7 +113,10 @@ jobs:
113
113
with :
114
114
use-cross : ${{ matrix.builds.cross }}
115
115
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 }}
117
120
118
121
- name : Artifact upload
119
122
uses : actions/upload-artifact@v2
@@ -122,6 +125,7 @@ jobs:
122
125
path : target/${{ matrix.builds.target }}/release/cross-compile-sample
123
126
124
127
- name : Upload release archive
128
+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
125
129
uses : softprops/action-gh-release@v1
126
130
env :
127
131
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments