🎉 feat(ci): aggiungi versionamento semantico per shared-actions
- Aggiunto package.json con versione 1.0.0 - Nuovo workflow release.yml standalone: crea release Gitea su tag v* - Aggiornamento automatico tag major floating (v1 → latest v1.x.x) - Esempi aggiornati da @main a @v1 (tag major stabile) Flusso di release: git tag v1.0.0 && git push origin v1.0.0 → crea release Gitea con changelog → aggiorna tag floating v1
This commit is contained in:
@@ -13,11 +13,11 @@ on:
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
android-debug:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@v1
|
||||
secrets: inherit
|
||||
with:
|
||||
build-type: debug
|
||||
|
||||
@@ -16,10 +16,10 @@ on:
|
||||
jobs:
|
||||
branch-cleanup:
|
||||
if: gitea.event_name == 'pull_request' && gitea.event.pull_request.merged == true
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
dependency-check:
|
||||
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -30,19 +30,19 @@ on:
|
||||
|
||||
jobs:
|
||||
android-apk:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@v1
|
||||
secrets: inherit
|
||||
with:
|
||||
build-type: release
|
||||
output-format: apk
|
||||
|
||||
android-aab:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@v1
|
||||
secrets: inherit
|
||||
with:
|
||||
build-type: release
|
||||
output-format: aab
|
||||
|
||||
gitea-release:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -16,5 +16,5 @@ on:
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -13,10 +13,10 @@ on:
|
||||
jobs:
|
||||
branch-cleanup:
|
||||
if: gitea.event_name == 'pull_request' && gitea.event.pull_request.merged == true
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
dependency-check:
|
||||
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -13,9 +13,9 @@ on:
|
||||
|
||||
jobs:
|
||||
npm-publish:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/npm-publish.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/npm-publish.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
auto-release:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -16,7 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@v1
|
||||
secrets: inherit
|
||||
# with:
|
||||
# node-version: '22.17' # opzionale, default già impostato
|
||||
|
||||
@@ -13,10 +13,10 @@ on:
|
||||
jobs:
|
||||
branch-cleanup:
|
||||
if: gitea.event_name == 'pull_request' && gitea.event.pull_request.merged == true
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
dependency-check:
|
||||
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
@@ -13,11 +13,11 @@ on:
|
||||
|
||||
jobs:
|
||||
docker-release:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/docker-release.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/docker-release.yml@v1
|
||||
secrets: inherit
|
||||
with:
|
||||
runner: catthehacker-latest # runner con Docker pre-installato
|
||||
|
||||
auto-release:
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@main
|
||||
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@v1
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user