chore(ci): aggiorna action versions, fix auto-release e migrazione self-hosted
- Aggiorna checkout v4→v6, setup-python v5→v5.2.0, setup-android v3→v4 - Aggiorna upload-artifact v3→v4, docker/login-action v3→v4 - Aggiunge needs su auto-release in tutti gli esempi (fix esecuzione parallela) - Aggiunge token esplicito nel checkout come workaround bug Gitea #31900 - Aggiunge job dependency-outdated mancante in libreria-npm/maintenance.yml - Aggiorna schedule: libreria-npm mercoledì 02:00, microservizio lunedì 02:00 - Migra tutti i riferimenti da gitea.com/Punga78 a gitea.pzetatouch.it/devops Fixes #1 @3h
This commit is contained in:
@@ -8,9 +8,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ gitea.token }}
|
||||
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
runs-on: ${{ inputs.runner }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
java-version: ${{ inputs.java-version || '17' }}
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@v3
|
||||
uses: https://github.com/android-actions/setup-android@v4
|
||||
|
||||
- name: Cache npm
|
||||
uses: https://gitea.com/actions/cache@v4
|
||||
@@ -145,7 +145,7 @@ jobs:
|
||||
|
||||
- name: Upload APK artifact
|
||||
if: inputs.output-format == 'apk'
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
uses: https://github.com/actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ steps.app-info.outputs.name }}-${{ steps.app-info.outputs.version }}-${{ inputs.build-type }}-apk
|
||||
path: android/app/build/outputs/apk/${{ inputs.build-type }}/${{ steps.app-info.outputs.name }}-${{ steps.app-info.outputs.version }}-${{ inputs.build-type }}.apk
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
|
||||
- name: Upload AAB artifact
|
||||
if: inputs.output-format == 'aab'
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
uses: https://github.com/actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ steps.app-info.outputs.name }}-${{ steps.app-info.outputs.version }}-release-aab
|
||||
path: android/app/build/outputs/bundle/release/${{ steps.app-info.outputs.name }}-${{ steps.app-info.outputs.version }}-release.aab
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
|
||||
- name: Upload Gradle build reports
|
||||
if: always()
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
uses: https://github.com/actions/upload-artifact@v4
|
||||
with:
|
||||
name: gradle-build-reports
|
||||
path: android/build/reports/
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
runs-on: ${{ inputs.runner }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
run: npm run test
|
||||
|
||||
- name: Login to container registry
|
||||
uses: https://gitea.com/docker/login-action@v3
|
||||
uses: https://gitea.com/docker/login-action@v4
|
||||
with:
|
||||
registry: gitea.pzetatouch.it
|
||||
username: ${{ secrets.G_USER }}
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
|
||||
@@ -16,9 +16,10 @@ jobs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ gitea.token }}
|
||||
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
|
||||
@@ -22,10 +22,10 @@ jobs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
uses: https://github.com/actions/setup-python@v5.2.0
|
||||
with:
|
||||
python-version: ${{ inputs.python-version || '3.11' }}
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@ jobs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
uses: https://github.com/actions/setup-python@v5.2.0
|
||||
with:
|
||||
python-version: ${{ inputs.python-version || '3.11' }}
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@ jobs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
uses: https://github.com/actions/setup-python@v5.2.0
|
||||
with:
|
||||
python-version: ${{ inputs.python-version || '3.11' }}
|
||||
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
run: pytest --tb=short -q
|
||||
|
||||
- name: Login to container registry
|
||||
uses: https://gitea.com/docker/login-action@v3
|
||||
uses: https://gitea.com/docker/login-action@v4
|
||||
with:
|
||||
registry: gitea.pzetatouch.it
|
||||
username: ${{ secrets.G_USER }}
|
||||
|
||||
@@ -23,10 +23,10 @@ jobs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
uses: https://github.com/actions/setup-python@v5.2.0
|
||||
with:
|
||||
python-version: ${{ inputs.python-version || '3.11' }}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
uses: https://gitea.com/actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user