diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 94975bb..6e94c61 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,21 +12,21 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout repository - uses: https://git.bitheaven.ru/actions/checkout@v2 + uses: actions/checkout@v4 - name: setup jdk ${{ matrix.java }} - uses: https://git.bitheaven.ru/actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'liberica' java-version: ${{ matrix.java }} - - uses: https://git.bitheaven.ru/actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches ~/.gradle/loom-cache ~/.gradle/wrapper key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }} - restore-keys: ${{ runner.os }}-gradle - name: make gradle wrapper executable run: chmod +x ./gradlew @@ -34,8 +34,11 @@ jobs: - name: build run: ./gradlew build - - name: capture build artifacts - uses: https://git.bitheaven.ru/actions/upload-artifact@v2 + - name: Make release + uses: actions/gitea-release-action@v1 with: - name: Artifacts - path: build/libs/ + name: Create Air Fabric 1.0-1${{ gitea.run_id }} for 1.20.1 + md5sum: true + sha256sum: true + files: |- + build/libs/**