Skip to content

Commit

Permalink
Corrected publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHua269 authored Aug 12, 2024
1 parent cc907e8 commit d170436
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_1.21.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
run: gradle applyPatches
- name: CreateJar
run: gradle createMojmapBundlerJar createMojmapPaperclipJar
- name: Publish to repo
run: |
export GITHUB_USERNAME=LuminolCI
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
export MAVEN_REPO_USER=${{ secrets.MAVEN_REPO_USER }}
export MAVEN_REPO_PASSWORD=${{ secrets.MAVEN_REPO_PASSWORD }}
./gradlew publish -PpublishDevBundle=true
- name: SetENV
run: sh scripts/SetENV.sh
- name: Upload Artifact
Expand Down Expand Up @@ -64,4 +71,4 @@ jobs:
secret_v2: ${{ secrets.API_KEY }}
tag: ${{ env.tag }}
project_id: ${{ env.project_id }}
run: sh scripts/PushToAPI.sh
run: sh scripts/PushToAPI.sh

0 comments on commit d170436

Please sign in to comment.