Skip to content

Commit

Permalink
cicd(CHN-208): remove unnecissary steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Tian committed Mar 22, 2024
1 parent 2b4f3b0 commit 0bbf7b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,3 @@ jobs:
release_name: Release ${{ steps.get_current_version.outputs.current_version }}
draft: false
prerelease: false

- name: Find asset path
id: find
run: echo "::set-output name=path::$(echo ./keycloak-services-social-weixin-*.jar)"

- name: Extract file name
id: extract
run: echo "::set-output name=name::$(basename ${{ steps.find.outputs.path }})"
# 将生成的 artifacts 上传到 release 的附件中
- name: Upload release assets
if: steps.check_version.outputs.version_changed == 'true'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ steps.find.outputs.path }}
asset_name: ${{ steps.extract.outputs.name }}
asset_content_type: application/java-archive
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services-social-weixin</artifactId>
<packaging>jar</packaging>
<version>0.5.22</version>
<version>0.5.23</version>

<name>Keycloak Services Social WeiXin</name>
<description>Keycloak 微信登录插件,支持 PC 端扫码登录、关注公众号即登录、手机微信等登录方式。</description>
Expand Down

0 comments on commit 0bbf7b0

Please sign in to comment.