File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,22 @@ jobs:
4848
4949 - name : Rename packages
5050 run : |
51- ls -al
52- pwd
5351 if [ "$RUNNER_OS" == "Linux" ]; then
5452 mv dist/${{ matrix.artifact_name }} dist/${{ matrix.artifact_name }}_Linux
53+ echo "file_name=dist/${{ matrix.artifact_name }}_Linux" >> $GITHUB_ENV
5554 elif [ "$RUNNER_OS" == "Windows" ]; then
5655 mv dist/${{ matrix.artifact_name }} dist/${{ matrix.artifact_name }}_Windows.exe
56+ echo "file_name=dist/${{ matrix.artifact_name }}_Windows.exe" >> $GITHUB_ENV
5757 elif [ "$RUNNER_OS" == "Mac" ]; then
5858 mv dist/${{ matrix.artifact_name }} dist/${{ matrix.artifact_name }}_Mac
59+ echo "file_name=dist/${{ matrix.artifact_name }}_Mac" >> $GITHUB_ENV
5960 fi
61+ ls -al
6062 shell : bash
6163
6264 - name : Release
6365 uses : softprops/action-gh-release@v1
6466 if : startsWith(github.ref, 'refs/tags/')
6567 with :
66- files : dist/
68+ files : dist/${{ env.file_name }}
6769
You can’t perform that action at this time.
0 commit comments