diff --git a/.github/workflows/Javadoc.yml b/.github/workflows/Javadoc.yml index 6874c6c5..c3e479c3 100644 --- a/.github/workflows/Javadoc.yml +++ b/.github/workflows/Javadoc.yml @@ -9,7 +9,7 @@ name: JavaDoc Generator on: push: - branches: [ 3.x ] + branches: [ release/1.x ] jobs: build-on-ubuntu: @@ -34,20 +34,20 @@ jobs: - name: Execute Gradle build run: | chmod +x gradlew - ./gradlew MAStaff-API:javadoc + ./gradlew NookureStaff-API:javadoc - name: clone JavaDoc run: | ls cd .. git clone https://github.com/Angelillo15/javadocs.git - cd javadocs + cd ..javadocs git checkout master - cd .. - rm -r javadocs/javadocs/mastaff/ + cd + rm -r javadocs/javadocs/NookureStaff/ ls javadocs/javadocs/ - cp -r MAStaff/MAStaff-API/build/docs/javadoc javadocs/javadocs/mastaff/ - ls javadocs/javadocs/mastaff + cp -r NookureStaff/MNookureStaff-API/build/docs/javadoc javadocs/javadocs/NookureStaff/ + ls javadocs/javadocs/NookureStaff cd javadocs git config --global user.email angelrizosrubios@gmail.com git config --global user.name Angelillo15 @@ -58,5 +58,5 @@ jobs: with: github_token: ${{ secrets.TOKEN }} branch: master - directory: /home/runner/work/MAStaff/javadocs + directory: /home/runner/work/NookureStaff/javadocs repository: Angelillo15/javadocs diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9297f2a6..ef6e9b3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,13 +1,13 @@ # This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: MAStaff build +name: NookureStaff build on: push: - branches: [ 3.x ] + branches: [ release/1.x ] pull_request: - branches: [ 3.x ] + branches: [ release/1.x] jobs: build-on-ubuntu: @@ -31,12 +31,11 @@ jobs: - name: Execute Gradle build run: | chmod +x gradlew - MASTAFF_NMS=TRUE ./gradlew MAStaff-NMS:publishToMavenLocal ./gradlew shadowJar mkdir staging && cp build/libs/*.jar staging - name: Upload the jar uses: actions/upload-artifact@v2 with: - name: MAStaff + name: NookureStaff path: staging