/
alexundros
/
scriptable-http-client-light
Обзор
Документация
Войти
/
alexundros
/
scriptable-http-client-light
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
.github/workflows/project-create-release.yml
48 строк
1 KB
Alexander Bulgakov
Fixed github start workflows
14 дек 2025, 20:37
14 дек 2025, 20:37
3bdd2c6
Код
Авторство
О чём код?
name: Project Create Release on: workflow_dispatch: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+*' jobs: project-create-release: if: ${{ startsWith(github.ref, 'refs/tags/v') }} runs-on: ubuntu-latest permissions: contents: write steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up JDK 11 uses: actions/setup-java@v4 with: java-version: '11' distribution: 'temurin' cache: maven - name: Grant execute permission for mvnw run: chmod +x mvnw - name: Build with Maven run: ./mvnw clean package -DskipTests - name: Upload build artifact uses: actions/upload-artifact@v4 with: name: scriptable-http-client-light-dist path: build - name: Create GitHub Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release create ${{ github.ref_name }} --notes "" --draft - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload ${{ github.ref_name }} build/*.zip