From f74992e5ef0cdd702ee6efa5a96d6b34723bfb86 Mon Sep 17 00:00:00 2001 From: vc-ci Date: Tue, 23 Aug 2022 07:21:09 +0000 Subject: [PATCH] ci: Updating Github Action workflows --- .github/workflows/main.yml | 6 +++--- .github/workflows/publish-nugets.yml | 8 ++++---- .github/workflows/release-hotfix.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2e122fc..d37d094f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -# v1.1.13-fix +# v3.200.15 name: Module CI on: @@ -28,7 +28,7 @@ on: jobs: ci: if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request.head.repo.full_name == github.repository || github.event.pull_request.head.repo.full_name == '') }} # Check that PR not from forked repo and not from Dependabot - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: CLOUD_INSTANCE_BASE_URL: ${{secrets.CLOUD_INSTANCE_BASE_URL}} CLIENT_ID: ${{secrets.CLIENT_ID}} @@ -212,7 +212,7 @@ jobs: deploy: if: ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master') && github.event_name == 'push' }} needs: ci - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} CLOUD_INSTANCE_BASE_URL: ${{secrets.CLOUD_INSTANCE_BASE_URL}} diff --git a/.github/workflows/publish-nugets.yml b/.github/workflows/publish-nugets.yml index fc92c3e4..81fb6f95 100644 --- a/.github/workflows/publish-nugets.yml +++ b/.github/workflows/publish-nugets.yml @@ -1,4 +1,4 @@ -# v3.200.13-fix +# v3.200.15 name: Publish nuget on: @@ -12,12 +12,12 @@ on: jobs: test: - uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@main + uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.200.15 secrets: sonarToken: ${{ secrets.SONAR_TOKEN }} build: - uses: VirtoCommerce/.github/.github/workflows/build.yml@main + uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.200.15 with: uploadPackage: 'true' uploadDocker: 'false' @@ -28,7 +28,7 @@ jobs: publish-nuget: needs: [build, test] - uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@main + uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.200.15 with: fullKey: ${{ needs.build.outputs.packageFullKey }} forceGithub: false diff --git a/.github/workflows/release-hotfix.yml b/.github/workflows/release-hotfix.yml index c9fa4716..68ac7663 100644 --- a/.github/workflows/release-hotfix.yml +++ b/.github/workflows/release-hotfix.yml @@ -1,4 +1,4 @@ -# v3.200.12-fix +# v3.200.15 name: Release hotfix on: @@ -12,12 +12,12 @@ on: jobs: test: - uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@main + uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.200.15 secrets: sonarToken: ${{ secrets.SONAR_TOKEN }} build: - uses: VirtoCommerce/.github/.github/workflows/build.yml@main + uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.200.15 with: uploadPackage: 'true' uploadDocker: 'false' @@ -27,7 +27,7 @@ jobs: envPAT: ${{ secrets.REPO_TOKEN }} get-metadata: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.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@main + uses: VirtoCommerce/.github/.github/workflows/publish-github.yml@v3.200.15 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-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae9b8cac..9c4cd74a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# v1.0.0-fix +# v3.200.15 name: Release on: @@ -6,6 +6,6 @@ on: jobs: release: - uses: VirtoCommerce/.github/.github/workflows/release.yml@main + uses: VirtoCommerce/.github/.github/workflows/release.yml@v3.200.15 secrets: envPAT: ${{ secrets.REPO_TOKEN }}