File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 2424 git archive --format=tar.gz -o $TARGET $TAG_NAME
2525 env :
2626 TAG_NAME : ${{ github.event.release.tag_name }}
27- TARGET : ${{ runner.temp }}/Sources.tar.gz
27+ TARGET : ${{ runner.temp }}/release.tar.gz
28+ - name : Upload sources tarball
29+ uses : actions/upload-release-asset@v1
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ with :
33+ upload_url : ${{ github.event.release.upload_url }}
34+ asset_path : ${{ runner.temp }}/release.tar.gz
35+ asset_name : release.tar.gz
36+ asset_content_type : application/tar+gzip
37+
2838 - name : Build
2939 run : swift build -v -c release
3040 - name : Import Application Siging
8393 asset_name : rswift-${{ github.event.release.tag_name }}.pkg
8494 asset_content_type : application/pkg
8595
86- - name : Upload sources tarball
87- uses : actions/upload-release-asset@v1
88- env :
89- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90- with :
91- upload_url : ${{ github.event.release.upload_url }}
92- asset_path : ${{ runner.temp }}/rswift-${{ github.event.release.tag_name }}.pkg
93- asset_name : rswift-${{ github.event.release.tag_name }}.pkg
94- asset_content_type : application/pkg
95-
9696 - name : Store artifact binary
9797 uses : actions/upload-artifact@v1
9898 with :
You can’t perform that action at this time.
0 commit comments