Skip to content

Commit

Permalink
Moved checkout to top
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkenJaden committed May 15, 2023
1 parent b5e7f35 commit 3c4c3bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ build ]
steps:
- uses: actions/checkout@v3
- name: Read VERSION file
id: getversion
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
Expand All @@ -151,7 +152,7 @@ jobs:
run: echo "suffix=$(cat SUFFIX)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v3
- run: mkdir upload
- run: cp **/*.jar upload
- run: cp **/LandOfSignals-*.jar upload
- name: Upload to GitHub
uses: Kir-Antipov/mc-publish@master
with:
Expand All @@ -163,11 +164,11 @@ jobs:
github-discussion: Announcements
github-token: ${{ secrets.GITHUB_TOKEN }}

files: upload/*.jar
files: upload/LandOfSignals-*.jar

version: ${{ steps.getversion.outputs.version }}${{ steps.getsuffix.outputs.suffix }}
version-type: ${{ inputs.type }}
changelog-file: CHANGELOG.md
changelog-file: ./CHANGELOG.md

loaders: |
forge
Expand Down

0 comments on commit 3c4c3bc

Please sign in to comment.