简化 github actions:移除多余的脚本

1.x
王良 2 weeks ago
parent 65e5f7ad42
commit 6110c69110

@ -173,12 +173,6 @@ jobs:
with: with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.dmg name: DevSidecar-${{ steps.package-info.outputs.version }}.dmg
path: release path: release
- name: 'Rename "release/DevSidecar-${{ steps.package-info.outputs.version }}.*" to "release/DevSidecar-${{ steps.package-info.outputs.version }}.*"'
run: |
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.exe release/DevSidecar-${{ steps.package-info.outputs.version }}.exe;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.deb release/DevSidecar-${{ steps.package-info.outputs.version }}.deb;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.AppImage release/DevSidecar-${{ steps.package-info.outputs.version }}.AppImage;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.dmg release/DevSidecar-${{ steps.package-info.outputs.version }}.dmg;
- name: 'Print files from "release" dir' - name: 'Print files from "release" dir'
run: | run: |

@ -178,12 +178,6 @@ jobs:
with: with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.dmg name: DevSidecar-${{ steps.package-info.outputs.version }}.dmg
path: release path: release
- name: 'Rename "release/DevSidecar-${{ steps.package-info.outputs.version }}.*" to "release/DevSidecar-${{ steps.package-info.outputs.version }}.*"'
run: |
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.exe release/DevSidecar-${{ steps.package-info.outputs.version }}.exe;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.deb release/DevSidecar-${{ steps.package-info.outputs.version }}.deb;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.AppImage release/DevSidecar-${{ steps.package-info.outputs.version }}.AppImage;
mv release/DevSidecar-${{ steps.package-info.outputs.version }}.dmg release/DevSidecar-${{ steps.package-info.outputs.version }}.dmg;
- name: 'Print files from "release" dir' - name: 'Print files from "release" dir'
run: | run: |

Loading…
Cancel
Save