Skip to content

Commit

Permalink
chore: add app store release step
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby authored Sep 27, 2023
1 parent 610a3ef commit 7761498
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-search-widget jar
uses: actions/download-artifact@v2
with:
name: plugin-search-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 7761498

Please sign in to comment.