Skip to content

Commit

Permalink
correct action file
Browse files Browse the repository at this point in the history
  • Loading branch information
zomb-676 committed Aug 14, 2023
1 parent 14208f5 commit 19ea262
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ jobs:
steps:
- name: Download shimmer artifact
uses: actions/download-artifact@v3
continue-on-error: true
with:
name: Shimmer

- name: Checking and setting the environment
id: shimmer_env
continue-on-error: true
run: |
export loader = ${{ matrix.loader }}
export loader=${{ matrix.loader }}
export name=$(ls ${loader}/build/libs/ | grep shadow -v | grep sources -v | awk -F.jar '{print $1}')
export mod_name=$(echo $name | awk -F- '{print $1}')
export loader_name=$(echo $name | awk -F- '{print $2}')
Expand All @@ -73,6 +75,7 @@ jobs:
- name: Publish Github Release
uses: Kir-Antipov/mc-publish@v3.3
continue-on-error: true
if: ${{ matrix.website == 'github_release' && inputs.github-release }}
with:
files: ${{ steps.shimmer_env.outputs.files }}
Expand All @@ -87,6 +90,7 @@ jobs:

- name: Publish Modrinth Release
uses: Kir-Antipov/mc-publish@v3.3
continue-on-error: true
if : ${{ matrix.website == 'modrinth' && inputs.modrinth }}
with:
files: ${{ steps.shimmer_env.outputs.files }}
Expand Down

0 comments on commit 19ea262

Please sign in to comment.