1
0
Fork 0
mirror of synced 2024-05-19 03:52:47 +12:00

Workflows: Rename "Rare-Windows-<version>.msi" to "Rare-<version>.msi"

Workaround some wildcard abuse
This commit is contained in:
loathingKernel 2023-05-03 18:22:51 +03:00
parent c9df58e3c1
commit e5a56cb0fb
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 14 additions and 11 deletions

View file

@ -48,13 +48,13 @@ jobs:
run: |
cd build
makedeb -d
mv *.deb Rare.deb
mv *.deb ../Rare.deb
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
with:
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.deb
path: build/Rare.deb
path: Rare.deb
appimage:
needs: version
@ -140,12 +140,15 @@ jobs:
run: |
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"
- name: Compress
run: |
python -c "import shutil; shutil.make_archive('Rare-Windows', 'zip', 'rare.dist')"
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
with:
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}
path: rare.dist
path: Rare-Windows.zip
cx_freeze_msi:
needs: version
@ -167,13 +170,13 @@ jobs:
- name: Build
run: |
python freeze.py bdist_msi
mv dist/*.msi dist/Rare-Windows.msi
mv dist/*.msi Rare.msi
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
with:
name: Rare-Windows-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
path: dist/Rare-Windows.msi
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.msi
path: Rare.msi
cx_freeze_zip:
needs: version

View file

@ -50,13 +50,13 @@ jobs:
run: |
cd build
makedeb -d
mv *.deb Rare.deb
mv *.deb ../Rare.deb
- name: Upload to Releases
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/Rare.deb
file: Rare.deb
asset_name: Rare-${{ github.event.release.tag_name }}.deb
tag: ${{ github.ref }}
overwrite: true
@ -187,14 +187,14 @@ jobs:
- name: Build
run: |
python freeze.py bdist_msi
mv dist/*.msi dist/Rare-Windows.msi
mv dist/*.msi Rare.msi
- name: Upload to Releases
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/Rare-Windows.msi
asset_name: Rare-Windows-${{ github.event.release.tag_name }}.msi
file: Rare.msi
asset_name: Rare-${{ github.event.release.tag_name }}.msi
tag: ${{ github.ref }}
overwrite: true