Update publish.yml
This commit is contained in:
parent
1e213600ca
commit
216f19c422
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
with:
|
||||
dotnet-target: "net9.0"
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-net9
|
||||
path: ${{ steps.jprm.outputs.artifact }}
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
with:
|
||||
dotnet-target: "net10.0"
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-net10
|
||||
path: ${{ steps.jprm.outputs.artifact }}
|
||||
|
|
@ -68,10 +68,9 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: artifacts
|
||||
merge-multiple: true
|
||||
|
||||
- name: Install jprm
|
||||
run: pip install jprm --break-system-packages
|
||||
|
|
@ -81,7 +80,7 @@ jobs:
|
|||
jprm repo add \
|
||||
--url="${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/" \
|
||||
. \
|
||||
artifacts/*.zip
|
||||
artifacts/**/*.zip
|
||||
|
||||
- name: Commit manifest.json
|
||||
run: |
|
||||
|
|
@ -94,6 +93,6 @@ jobs:
|
|||
- name: Create release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: artifacts/*.zip
|
||||
files: artifacts/**/*.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue