Skip to content

Commit

Permalink
chore: win rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed May 24, 2022
1 parent b939028 commit defa125
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ jobs:
shell: bash
run: |
cp ./target/${{ matrix.target }}/release/${{ env.RELEASE_BIN }}.exe ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}/${{ env.RELEASE_BIN }}.exe
cp ./target/${{ matrix.target }}/release/${{ env.RELEASE_BIN }}.exe rsw-init.exe
cp ./target/${{ matrix.target }}/release/${{ env.RELEASE_BIN }}.exe rsw.exe
mv ${{ env.RELEASE_ADDS }} ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}
mv rsw-init.exe ${{ env.RELEASE_DIR }}
mv rsw.exe ${{ env.RELEASE_DIR }}
- name: Create tarball
run: 7z a -ttar -so -an ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }} | 7z a -si ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}.tar.gz

Expand Down Expand Up @@ -175,9 +175,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rsw-init.exe
asset_path: ./rsw.exe
asset_content_type: application/vnd.microsoft.portable-executable
asset_name: rsw-init.exe
asset_name: rsw.exe

- name: Release MacOS tarball
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit defa125

Please sign in to comment.