Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Jun 3, 2024
1 parent e6a4485 commit ec3c289
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- name: Windows Environment
if: runner.os == 'Windows'
run: |
echo "Platform=x64" >> $GITHUB_ENV
echo "Configuration=Release" >> $GITHUB_ENV
echo "IceHome=${{github.workspace}}\ice" >> $GITHUB_ENV
echo "ICE_HOME=${{github.workspace}}\ice" >> $GITHUB_ENV
- name: Linux/MacOS Environment
if: runner.os != 'Windows'
run: |
echo "ICE_HOME=${{github.workspace}}/ice" >> $GITHUB_ENV
echo "IceHome=${{github.workspace}}/ice" >> $GITHUB_ENV
- name: Checkout Ice
uses: actions/checkout@v4
with:
Expand All @@ -50,20 +64,6 @@ jobs:
working_directory: ice
build_flags: ${{ runner.os == 'Windows' && '/t:BuildDist' || 'srcs' }}

- name: Windows Environment
if: runner.os == 'Windows'
run: |
echo "Platform=x64" >> $GITHUB_ENV
echo "Configuration=Release" >> $GITHUB_ENV
echo "IceHome=${{github.workspace}}\ice" >> $GITHUB_ENV
echo "ICE_HOME=${{github.workspace}}\ice" >> $GITHUB_ENV
- name: Linux/MacOS Environment
if: runner.os != 'Windows'
run: |
echo "ICE_HOME=${{github.workspace}}/ice" >> $GITHUB_ENV
echo "IceHome=${{github.workspace}}/ice" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit ec3c289

Please sign in to comment.