Skip to content

Commit

Permalink
try without write
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyNagy committed Jan 6, 2024
1 parent dee6a54 commit 3cf5b8c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
outputs:
is_push_to_default_branch: ${{ steps.conditionals_handler.outputs.is_push_to_default_branch }}
os: ${{ steps.set_cd_outputs.outputs.os }}
run_number: ${{ steps.set_cd_outputs.outputs.run_number }}
os: ${{ matrix.os }}
run_number: ${{ github.run_number }}
steps:
- name: Data gatherer
id: data_gatherer
Expand Down Expand Up @@ -100,14 +100,6 @@ jobs:
name: Publish artifacts-${{ matrix.os }}-${{ github.run_number }}
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp/

- name: Set outputs for CD job
id: set_cd_outputs
run: |
$os = "${{ matrix.os }}"
$runNumber = "${{ github.run_number }}"
Write-Output "::set-output name=os::$os"
Write-Output "::set-output name=run_number::$runNumber"
cd:
if: needs.ci.outputs.is_push_to_default_branch == 'true'
name: Continuous Deployment
Expand Down

0 comments on commit 3cf5b8c

Please sign in to comment.