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