From 3a2b09f72baf9728899ec14533d57827275a4487 Mon Sep 17 00:00:00 2001 From: vc-ci Date: Wed, 17 Aug 2022 13:14:14 +0000 Subject: [PATCH] ci: Updating Github Action workflows --- .github/workflows/publish-nugets.yml | 8 ++++---- .github/workflows/release-hotfix.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-nugets.yml b/.github/workflows/publish-nugets.yml index 024fb8cc..fc92c3e4 100644 --- a/.github/workflows/publish-nugets.yml +++ b/.github/workflows/publish-nugets.yml @@ -1,4 +1,4 @@ -# v3.200.13 +# v3.200.13-fix name: Publish nuget on: @@ -12,12 +12,12 @@ on: jobs: test: - uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.200.13 + uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@main secrets: sonarToken: ${{ secrets.SONAR_TOKEN }} build: - uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.200.13 + uses: VirtoCommerce/.github/.github/workflows/build.yml@main with: uploadPackage: 'true' uploadDocker: 'false' @@ -28,7 +28,7 @@ jobs: publish-nuget: needs: [build, test] - uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.200.13 + uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@main with: fullKey: ${{ needs.build.outputs.packageFullKey }} forceGithub: false diff --git a/.github/workflows/release-hotfix.yml b/.github/workflows/release-hotfix.yml index 4db8ab53..c9fa4716 100644 --- a/.github/workflows/release-hotfix.yml +++ b/.github/workflows/release-hotfix.yml @@ -1,4 +1,4 @@ -# v3.200.12 +# v3.200.12-fix name: Release hotfix on: @@ -12,12 +12,12 @@ on: jobs: test: - uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.200.12 + uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@main secrets: sonarToken: ${{ secrets.SONAR_TOKEN }} build: - uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.200.12 + uses: VirtoCommerce/.github/.github/workflows/build.yml@main with: uploadPackage: 'true' uploadDocker: 'false' @@ -27,7 +27,7 @@ jobs: envPAT: ${{ secrets.REPO_TOKEN }} get-metadata: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 outputs: changelog: ${{ steps.changelog.outputs.changelog }} steps: @@ -43,7 +43,7 @@ jobs: publish-github-release: needs: [build, test, get-metadata] - uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.200.12 + uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@main with: fullKey: ${{ needs.build.outputs.packageFullKey }} changeLog: '${{ needs.get-metadata.outputs.changeLog }}' @@ -57,7 +57,7 @@ jobs: needs: [publish-github-release] if: ${{ github.event.inputs.incrementPatch == 'true' }} - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3771aa5f..ae9b8cac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# v1.0.0 +# v1.0.0-fix name: Release on: @@ -6,6 +6,6 @@ on: jobs: release: - uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.200.12 + uses: VirtoCommerce/.github/.github/workflows/release.yml@main secrets: envPAT: ${{ secrets.REPO_TOKEN }}