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

ci: test #320

Closed
wants to merge 1 commit into from
Closed
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
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Publish Package

on:
pull_request:
branches:
- master
create:

concurrency:
Expand All @@ -15,7 +18,7 @@ jobs:
env:
VAR_COS_BUCKET_CI: ${{ secrets.VAR_COS_BUCKET_CI }}
VAR_COS_BUCKET_REPO: ${{ secrets.VAR_COS_BUCKET_REPO }}
VAR_COS_ENDPOINT: ${{ secrets.VAR_COS_ENDPOINT }}
VAR_COS_ENDPOINT: cos.accelerate.myqcloud.com
VAR_RPM_WORKBENCH_DIR: /tmp/output

steps:
Expand All @@ -35,14 +38,14 @@ jobs:
echo "TAG_DATE=${TAG_DATE}" >> "$GITHUB_ENV"

- name: Extract Tags name
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith('refs/tags/apisix/3.0.0-dev', 'refs/tags/') }}
id: tag_env
shell: bash
run: |
echo "##[set-output name=version;]$(echo ${GITHUB_REF##*/})"

- name: Extract Tags Type
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith('refs/tags/apisix/3.0.0-dev', 'refs/tags/') }}
id: tag_type
shell: bash
run: |
Expand Down
Loading