Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
fix: 修正 actions 构建
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Apr 22, 2024
1 parent e751a69 commit f5d2211
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ jobs:
run: |
bash prepare.sh
- name: Get pip_package.zip
run: |
applets_version=$(curl -s https://api.github.com/repos/jumpserver/applets/releases/latest | grep "tag_name" | awk '{print $2}' | sed 's/"//g' | sed 's/,//g')
wget -qO opt/download/applets/pip_packages.zip https://github.com/jumpserver/applets/releases/download/${applets_version}/pip_packages.zip
- name: Build and push
uses: docker/build-push-action@v3
with:
Expand Down Expand Up @@ -86,6 +81,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Get pip_package.zip
run: |
applets_version=$(curl -s https://api.github.com/repos/jumpserver/applets/releases/latest | grep "tag_name" | awk '{print $2}' | sed 's/"//g' | sed 's/,//g')
wget -qO opt/download/applets/pip_packages.zip https://github.com/jumpserver/applets/releases/download/${applets_version}/pip_packages.zip
- name: Sync to Gitea Repository
run: |
ssh -o StrictHostKeyChecking=no [email protected] || echo ""
Expand Down

0 comments on commit f5d2211

Please sign in to comment.