Skip to content

Commit

Permalink
小调整
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Sep 21, 2024
1 parent d5001ad commit 640b6cf
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- master

jobs:
# job 1
build-and-upload:
runs-on: ${{ matrix.os }}-latest
strategy:
Expand Down Expand Up @@ -132,46 +131,3 @@ jobs:
path: packages/gui/dist_electron/DevSidecar-${{ steps.package-info.outputs.version }}.dmg
name: "DevSidecar-${{ steps.package-info.outputs.version }}.dmg"
if-no-files-found: error

# job 2
download-and-release:
runs-on: ubuntu-latest
needs:
- build-and-upload
steps:
- name: "Checkout"
uses: actions/[email protected]

- name: "Get package info"
id: package-info
uses: luizfelipelaviola/get-package-info@v1
with:
path: ./packages/mitmproxy

- name: "Make 'release' dir"
run: mkdir release

- name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.exe - Windows"
uses: actions/[email protected]
with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.exe
path: release
- name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.deb - Ubuntu"
uses: actions/[email protected]
with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.deb
path: release
- name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.AppImage - Ubuntu"
uses: actions/[email protected]
with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.AppImage
path: release
- name: "Download DevSidecar-${{ steps.package-info.outputs.version }}.dmg - Mac"
uses: actions/[email protected]
with:
name: DevSidecar-${{ steps.package-info.outputs.version }}.dmg
path: release

- name: "Print files from 'release' dir"
run: |
ls -lah release;

0 comments on commit 640b6cf

Please sign in to comment.