Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 15, 2024
1 parent e676b2b commit f331ddf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Set up qemu and binfmt (for arm64)
if: ${{ matrix.target.emulate }}
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.target.emulate }}

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ on:
jobs:
release:
permissions:
actions: write
contents: write

runs-on: ubuntu-latest

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Check out
uses: actions/checkout@v4
Expand All @@ -24,14 +28,10 @@ jobs:

- name: Create release
if: ${{ steps.version.outputs.tag }}
run: >
curl
-X POST
-H "Accept: application/vnd.github.v3+json"
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
https://api.github.com/repos/${{ github.repository }}/releases
-d '{
"name": "${{ steps.version.outputs.tag }}",
"tag_name": "${{ steps.version.outputs.tag }}",
"target_commitish": "${{ github.sha }}"
}'
run: gh release create ${{ steps.version.outputs.tag }}

- name: Build
run: gh workflow run build --ref ${{ steps.version.outputs.tag }}

- name: Publish
run: gh workflow run npm --ref ${{ steps.version.outputs.tag }}
4 changes: 3 additions & 1 deletion cordis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
- id: el17rl
name: '@cordisjs/plugin-insight'
- id: ks2osk
name: '@cordisjs/plugin-config'
name: '@cordisjs/plugin-manager'
- id: 4cj730
name: '@cordisjs/plugin-notifier'
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cordiverse/boilerplate",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"files": [
".env",
Expand Down Expand Up @@ -34,11 +34,12 @@
"yml-register": "^1.2.5"
},
"dependencies": {
"@cordisjs/plugin-config": "^2.8.6",
"@cordisjs/plugin-hmr": "^0.2.1",
"@cordisjs/plugin-insight": "^3.5.1",
"@cordisjs/plugin-manager": "^0.1.0",
"@cordisjs/plugin-notifier": "^0.1.0",
"@cordisjs/plugin-server": "^0.2.2",
"@cordisjs/plugin-webui": "^0.1.1",
"cordis": "^3.15.0"
"@cordisjs/plugin-webui": "^0.1.3",
"cordis": "^3.15.1"
}
}

0 comments on commit f331ddf

Please sign in to comment.