Skip to content

Commit

Permalink
Adding upload release in plugin-ci for develop branch (#523)
Browse files Browse the repository at this point in the history
* Adding upload release in plugin-ci for develop branch

* fix plugin-ci

* fix filepath
  • Loading branch information
mwaiyee authored Jan 8, 2025
1 parent f28d47d commit f51ff6e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,20 @@ jobs:
package-type: "npm"
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
- name: Pack
working-directory: /usr/src/plugin/node_modules/@alp-os/d2e-functions
run: |
if [[ $GIT_CI_BRANCH_NAME == 'develop' ]]; then
npm pack
fi
- name: Push
uses: svenstaro/upload-release-action@v2
if: ${{ env.GIT_CI_BRANCH_NAME == 'develop' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /usr/src/plugin/node_modules/@alp-os/d2e-functions/alp-os-d2e-functions-0.0.99.tgz
tag: latest
target_commit: develop
prerelease: true
overwrite: true
asset_name: d2e-functions.tgz

0 comments on commit f51ff6e

Please sign in to comment.