Skip to content

Commit

Permalink
Revert "optimize: 优化 Github Actions,升级 luizfelipelaviola/get-package-…
Browse files Browse the repository at this point in the history
…info 到 v2 版本。"

This reverts commit 84ab133.
  • Loading branch information
wangliang181230 committed Dec 17, 2024
1 parent afbaea5 commit 783efd7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

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

Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:

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

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/npm-run-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ jobs:
with:
python-version: '3.10'

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

- name: Print
run: |
echo "version = ${{ steps.package-info.outputs.version }}";
echo "github.ref_type = ${{ github.ref_type }}";
echo "github.ref = ${{ github.ref }}";
echo "github.ref_name = ${{ github.ref_name }}";
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

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

Expand Down

0 comments on commit 783efd7

Please sign in to comment.