Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CI): fix CI issues with release beta version #1187

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
images: emqx/mqttx-cli
flavor: |
latest=true
latest=${{ !github.event.release.prerelease }}
tags: |
type=ref,event=tag

Expand All @@ -78,7 +78,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}

publish_npm:
if: github.event_name == 'release'
if: github.event_name == 'release' && !github.event.release.prerelease
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
yarn && yarn build

- name: upload dist
if: github.event_name != 'pull_request'
if: github.event_name == 'release' && !github.event.release.prerelease
run: |
cd web
wget http://gosspublic.alicdn.com/ossutil/1.7.8/ossutil64
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
with:
images: emqx/mqttx-web
flavor: |
latest=true
latest=${{ !github.event.release.prerelease }}
tags: |
type=ref,event=tag

Expand Down