Workflows: Rename "Rare-Windows-<version>.msi" to "Rare-<version>.msi"
Workaround some wildcard abuse
This commit is contained in:
parent
c9df58e3c1
commit
e5a56cb0fb
15
.github/workflows/release-tests.yml
vendored
15
.github/workflows/release-tests.yml
vendored
|
@ -48,13 +48,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
makedeb -d
|
makedeb -d
|
||||||
mv *.deb Rare.deb
|
mv *.deb ../Rare.deb
|
||||||
|
|
||||||
- name: Upload to Artifacts
|
- name: Upload to Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.deb
|
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.deb
|
||||||
path: build/Rare.deb
|
path: Rare.deb
|
||||||
|
|
||||||
appimage:
|
appimage:
|
||||||
needs: version
|
needs: version
|
||||||
|
@ -140,12 +140,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
Copy-Item -Path "rare.dist\libcrypto-1_1.dll" -Destination "rare.dist\libcrypto-1_1-x64.dll"
|
Copy-Item -Path "rare.dist\libcrypto-1_1.dll" -Destination "rare.dist\libcrypto-1_1-x64.dll"
|
||||||
Copy-Item -Path "rare.dist\libssl-1_1.dll" -Destination "rare.dist\libssl-1_1-x64.dll"
|
Copy-Item -Path "rare.dist\libssl-1_1.dll" -Destination "rare.dist\libssl-1_1-x64.dll"
|
||||||
|
- name: Compress
|
||||||
|
run: |
|
||||||
|
python -c "import shutil; shutil.make_archive('Rare-Windows', 'zip', 'rare.dist')"
|
||||||
|
|
||||||
- name: Upload to Artifacts
|
- name: Upload to Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}
|
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}
|
||||||
path: rare.dist
|
path: Rare-Windows.zip
|
||||||
|
|
||||||
cx_freeze_msi:
|
cx_freeze_msi:
|
||||||
needs: version
|
needs: version
|
||||||
|
@ -167,13 +170,13 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
python freeze.py bdist_msi
|
python freeze.py bdist_msi
|
||||||
mv dist/*.msi dist/Rare-Windows.msi
|
mv dist/*.msi Rare.msi
|
||||||
|
|
||||||
- name: Upload to Artifacts
|
- name: Upload to Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
|
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
|
||||||
path: dist/Rare-Windows.msi
|
path: Rare.msi
|
||||||
|
|
||||||
cx_freeze_zip:
|
cx_freeze_zip:
|
||||||
needs: version
|
needs: version
|
||||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -50,13 +50,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
makedeb -d
|
makedeb -d
|
||||||
mv *.deb Rare.deb
|
mv *.deb ../Rare.deb
|
||||||
|
|
||||||
- name: Upload to Releases
|
- name: Upload to Releases
|
||||||
uses: svenstaro/upload-release-action@2.2.1
|
uses: svenstaro/upload-release-action@2.2.1
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: build/Rare.deb
|
file: Rare.deb
|
||||||
asset_name: Rare-${{ github.event.release.tag_name }}.deb
|
asset_name: Rare-${{ github.event.release.tag_name }}.deb
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
@ -187,14 +187,14 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
python freeze.py bdist_msi
|
python freeze.py bdist_msi
|
||||||
mv dist/*.msi dist/Rare-Windows.msi
|
mv dist/*.msi Rare.msi
|
||||||
|
|
||||||
- name: Upload to Releases
|
- name: Upload to Releases
|
||||||
uses: svenstaro/upload-release-action@2.2.1
|
uses: svenstaro/upload-release-action@2.2.1
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: dist/Rare-Windows.msi
|
file: Rare.msi
|
||||||
asset_name: Rare-Windows-${{ github.event.release.tag_name }}.msi
|
asset_name: Rare-${{ github.event.release.tag_name }}.msi
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue