Skip to content

Commit

Permalink
ci: Updating Github Action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Aug 17, 2022
1 parent 07b5f70 commit 3a2b09f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-nugets.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v3.200.13
# v3.200.13-fix
name: Publish nuget

on:
Expand All @@ -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'
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release-hotfix.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v3.200.12
# v3.200.12-fix
name: Release hotfix

on:
Expand All @@ -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'
Expand All @@ -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:
Expand All @@ -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 }}'
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# v1.0.0
# v1.0.0-fix
name: Release

on:
workflow_dispatch:

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 }}

0 comments on commit 3a2b09f

Please sign in to comment.