File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 PROJECT_NAME : rust_template
2020 NIGHTLY_BODY : ${{ github.event.release.body }}
2121 LICENSE_FILE_REG : LICENS*|LICENSE-*|LICENSE-MIT|LICENSE-APACHE
22+ LICENSE_FILES_WINDOWS : LICENSE*
2223 # LICENSE_FILE: LICENS*
2324 # LICENSE_FILE: "LICENSE"
2425 # LICENSE_FILE: "LICENSE-*"
@@ -154,7 +155,7 @@ jobs:
154155 # We have to create a zip arch in order for draft to find it as the upload job handles it outside the container or gh handles it directly
155156 run : |
156157 $ARTIFACT_NAME="${{ env.PROJECT_NAME }}-${{ matrix.target }}-${{ github.ref_name }}"
157- $LICENSE_FILE="${{ env.LICENSE_FILE }}"
158+ $LICENSE_FILE="${{ env.LICENSE_FILES_WINDOWS }}"
158159 # $DRAFT_DIR="${ARTIFACT_NAME}"
159160 New-Item -ItemType Directory -Path "$ARTIFACT_NAME"
160161 Copy-Item -Path "target\${{ matrix.target }}\release\${{ env.PROJECT_NAME }}.exe" -Destination "$ARTIFACT_NAME"
You can’t perform that action at this time.
0 commit comments