File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 45
45
id : archive
46
46
shell : bash
47
47
env :
48
- TARGET : ${{ matrix.target }}
49
- TAG : ${{ github.event.release.tag_name }}
50
- FILENAME : ${{ matrix.binName }}-$TAG-$TARGET.tar.gz
48
+ FILENAME : ${{ matrix.binName }}-${{ github.event.release.tag_name }}-${{ matrix.target }}.tar.gz
51
49
run : |
52
- tar -czvf "$FILENAME" README.md LICENSE -C "target/$TARGET /release" "${{ matrix.binName }}"
50
+ tar -czvf "$FILENAME" README.md LICENSE -C "target/${{ matrix.target }} /release" "${{ matrix.binName }}"
53
51
echo "::set-output name=filename::$FILENAME"
54
52
- name : Upload Archive
55
53
uses : ncipollo/release-action@v1.8.7
@@ -76,15 +74,15 @@ jobs:
76
74
- name : Archive deb artifact
77
75
uses : actions/upload-artifact@v2
78
76
with :
79
- name : t-rec-$TAG-$TARGET .deb
80
- path : target/$TARGET /debian/t-rec*.deb
77
+ name : t-rec-${{ github.event.release.tag_name }}-x86_64-unknown-linux-musl .deb
78
+ path : target/x86_64-unknown-linux-musl /debian/t-rec*.deb
81
79
- name : upload deb file
82
80
uses : ncipollo/release-action@v1.8.7
83
81
with :
84
82
token : ${{ secrets.GITHUB_TOKEN }}
85
83
allowUpdates : true
86
84
artifactErrorsFailBuild : true
87
- artifacts : target/$TARGET /debian/t-rec*.deb
85
+ artifacts : target/x86_64-unknown-linux-musl /debian/t-rec*.deb
88
86
artifactContentType : application/octet-stream
89
87
omitBodyDuringUpdate : true
90
88
omitNameDuringUpdate : true
You can’t perform that action at this time.
0 commit comments