Skip to content

Commit

Permalink
Updated workflow (#1)
Browse files Browse the repository at this point in the history
* Updated workflow using a github action
  • Loading branch information
juliandittmann authored May 10, 2021
1 parent c912d36 commit 016cd5c
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 379 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 25,16 @@ jobs:
- uses: actions/checkout@v2

- name: Run pipeline
env:
uses: juliandittmann/[email protected]
with:
version: ${{env.version}}
appVersion: ${{env.appVersion}}
appBuild: ${{env.appBuild}}
appRevision: ${{env.appRevision}}
InsiderSasToken: ${{ secrets.InsiderSasToken }}
LicenseFile: ${{ secrets.LicenseFile }}
CodeSignCertPfxFile: ${{ secrets.CodeSignCertPfxFile }}
CodeSignCertPfxPassword: ${{ secrets.CodeSignCertPfxPassword }}
run: scripts\DevOps-Pipeline.ps1 -environment GitHubActions -version ${{env.version}} -appBuild ${{env.appBuild}} -appRevision ${{env.appRevision}}

- name: Save manifest
run: |
Expand Down Expand Up @@ -76,8 80,4 @@ jobs:
with:
name: Manifest
path: output/manifest.json
if-no-files-found: ignore

- name: Cleanup
if: always()
run: scripts\Cleanup.ps1
if-no-files-found: ignore
14 changes: 7 additions & 7 deletions .github/workflows/current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 23,19 @@ jobs:
- uses: actions/checkout@v2

- name: Run pipeline
env:
uses: juliandittmann/[email protected]
with:
version: ${{env.version}}
appVersion: ${{env.appVersion}}
appBuild: ${{env.appBuild}}
appRevision: ${{env.appRevision}}
InsiderSasToken: ${{ secrets.InsiderSasToken }}
LicenseFile: ${{ secrets.LicenseFile }}
CodeSignCertPfxFile: ${{ secrets.CodeSignCertPfxFile }}
CodeSignCertPfxPassword: ${{ secrets.CodeSignCertPfxPassword }}
run: scripts\DevOps-Pipeline.ps1 -environment GitHubActions -version ${{env.version}} -appBuild ${{env.appBuild}} -appRevision ${{env.appRevision}}

- name: Publish Test Results
uses: mikepenz/action-junit-report@v1
with:
report_paths: 'testresults*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup
if: always()
run: scripts\Cleanup.ps1
github_token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/nextmajor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 23,19 @@ jobs:
- uses: actions/checkout@v2

- name: Run pipeline
env:
uses: juliandittmann/[email protected]
with:
version: ${{env.version}}
appVersion: ${{env.appVersion}}
appBuild: ${{env.appBuild}}
appRevision: ${{env.appRevision}}
InsiderSasToken: ${{ secrets.InsiderSasToken }}
LicenseFile: ${{ secrets.LicenseFile }}
CodeSignCertPfxFile: ${{ secrets.CodeSignCertPfxFile }}
CodeSignCertPfxPassword: ${{ secrets.CodeSignCertPfxPassword }}
run: scripts\DevOps-Pipeline.ps1 -environment GitHubActions -version ${{env.version}} -appBuild ${{env.appBuild}} -appRevision ${{env.appRevision}}

- name: Publish Test Results
uses: mikepenz/action-junit-report@v1
with:
report_paths: 'testresults*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup
if: always()
run: scripts\Cleanup.ps1
github_token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/nextminor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 23,19 @@ jobs:
- uses: actions/checkout@v2

- name: Run pipeline
env:
uses: juliandittmann/[email protected]
with:
version: ${{env.version}}
appVersion: ${{env.appVersion}}
appBuild: ${{env.appBuild}}
appRevision: ${{env.appRevision}}
InsiderSasToken: ${{ secrets.InsiderSasToken }}
LicenseFile: ${{ secrets.LicenseFile }}
CodeSignCertPfxFile: ${{ secrets.CodeSignCertPfxFile }}
CodeSignCertPfxPassword: ${{ secrets.CodeSignCertPfxPassword }}
run: scripts\DevOps-Pipeline.ps1 -environment GitHubActions -version ${{env.version}} -appBuild ${{env.appBuild}} -appRevision ${{env.appRevision}}

- name: Publish Test Results
uses: mikepenz/action-junit-report@v1
with:
report_paths: 'testresults*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup
if: always()
run: scripts\Cleanup.ps1
github_token: ${{ secrets.GITHUB_TOKEN }}
38 changes: 0 additions & 38 deletions scripts/Cleanup.ps1

This file was deleted.

84 changes: 0 additions & 84 deletions scripts/DevOps-Pipeline.ps1

This file was deleted.

54 changes: 0 additions & 54 deletions scripts/Install-BcContainerHelper.ps1

This file was deleted.

48 changes: 0 additions & 48 deletions scripts/Local-DevEnv.ps1

This file was deleted.

Loading

0 comments on commit 016cd5c

Please sign in to comment.