Bump action versions
This commit is contained in:
3 files changed
+15
-15
No files matched your search
@@ -11,9 +11,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "Compiled artifacts for Pull Request #${{github.event.number}}"
|
name: "Compiled artifacts for Pull Request #${{github.event.number}}"
|
||||||
path: build/libs
|
path: build/libs
|
||||||
@@ -11,9 +11,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Compiled artifacts for ${{ github.sha }}
|
name: Compiled artifacts for ${{ github.sha }}
|
||||||
path: build/libs
|
path: build/libs
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
extra-branch-curse-version: ${{ steps.properties.outputs.release-extra-curse-version }}
|
extra-branch-curse-version: ${{ steps.properties.outputs.release-extra-curse-version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the sources
|
- name: Checkout the sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Determine release type
|
- name: Determine release type
|
||||||
id: type
|
id: type
|
||||||
run: |
|
run: |
|
||||||
@@ -62,11 +62,11 @@ jobs:
|
|||||||
echo "::set-output name=curse-versions::${{ needs.Get-Properties.outputs.curse-versions }}"
|
echo "::set-output name=curse-versions::${{ needs.Get-Properties.outputs.curse-versions }}"
|
||||||
fi
|
fi
|
||||||
- name: Checkout the sources
|
- name: Checkout the sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.getbranchinfo.outputs.branchname }}
|
ref: ${{ steps.getbranchinfo.outputs.branchname }}
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
output="$(find build/libs/ ! -name "*-dev.jar" ! -name "*-sources.jar" -type f -printf "%f\n")"
|
output="$(find build/libs/ ! -name "*-dev.jar" ! -name "*-sources.jar" -type f -printf "%f\n")"
|
||||||
echo "::set-output name=jarname::$output"
|
echo "::set-output name=jarname::$output"
|
||||||
- name: Save build artifacts in the action
|
- name: Save build artifacts in the action
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Artifacts for ${{ matrix.branch }}
|
name: Artifacts for ${{ matrix.branch }}
|
||||||
path: build/libs
|
path: build/libs
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
- name: Ask Gradle to publish
|
- name: Ask Gradle to publish
|
||||||
run: ./gradlew publish
|
run: ./gradlew publish
|
||||||
- name: Save publish folder in action's artifacts # Remove when automated
|
- name: Save publish folder in action's artifacts # Remove when automated
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Maven publishing artifacts for ${{ matrix.branch }}
|
name: Maven publishing artifacts for ${{ matrix.branch }}
|
||||||
path: publish/carpet/fabric-carpet/
|
path: publish/carpet/fabric-carpet/
|
||||||
@@ -133,7 +133,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the sources
|
- name: Checkout the sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
- name: Merge docs
|
- name: Merge docs
|
||||||
@@ -150,15 +150,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Carpet sources
|
- name: Checkout Carpet sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
- name: Checkout wiki
|
- name: Checkout wiki
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: ${{github.repository}}.wiki
|
repository: ${{github.repository}}.wiki
|
||||||
path: wiki
|
path: wiki
|
||||||
|
|||||||
Reference in new issue
Block a user