Fix github release download
[no changelog]
This commit is contained in:
13
.github/workflows/publish-github-to-modrinth.yml
vendored
13
.github/workflows/publish-github-to-modrinth.yml
vendored
@@ -11,13 +11,12 @@ jobs:
|
|||||||
upload-to-modrinth:
|
upload-to-modrinth:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dsaltares/fetch-gh-release-asset@master
|
- run: |
|
||||||
with:
|
gh release download "$TAG" -p '*.jar' --repo "$REPO"
|
||||||
version: ${{ github.event.release.id }}
|
env:
|
||||||
regex: true
|
TAG: ${{ github.event.release.tag_name }}
|
||||||
file: ".*\\.jar"
|
REPO: ${{ github.repository }}
|
||||||
target: '.'
|
GH_TOKEN: ${{ github.token }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- run: |
|
- run: |
|
||||||
printf %s "$CHANGELOG" > CHANGELOG.md
|
printf %s "$CHANGELOG" > CHANGELOG.md
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user