Skip to content

Commit

Permalink
chore: add halo app store release step (#46)
Browse files Browse the repository at this point in the history
添加发布到 Halo 应用市场的 CI 步骤。

https://github.com/halo-sigs/app-store-release-action

/kind improvement

```release-note
None
```
  • Loading branch information
ruibaby committed Jul 14, 2023
1 parent 6a0909b commit 51692b5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,26 @@ jobs:
name: artifactName,
data: await fs.readFile(artifactPathName)
});
app-store-release:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Download plugin-comment-widget jar
uses: actions/download-artifact@v2
with:
name: plugin-comment-widget
path: build/libs
- name: Sync to Halo App Store
uses: halo-sigs/app-store-release-action@main
with:
github-token: ${{secrets.GITHUB_TOKEN}}
app-id: ${{secrets.APP_ID}}
release-id: ${{ github.event.release.id }}
assets-dir: "build/libs"
halo-username: ${{ secrets.HALO_USERNAME }}
halo-password: ${{ secrets.HALO_PASSWORD }}

0 comments on commit 51692b5

Please sign in to comment.