Skip to content

Commit

Permalink
Life is pain
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsik committed May 14, 2024
1 parent 248ce6e commit 38d8c8a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ jobs:
python-version: 3.12
cache: pip

- name: Install dependencies
- name: Set the value
id: step_one
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
echo "SELECTED_COLOR=green" >> "$GITHUB_OUTPUT"
- name: Use the value
id: step_two
env:
SELECTED_COLOR: ${{ steps.step_one.outputs.SELECTED_COLOR }}
run: |
python runtests.py -vv --full-trace
echo $SELECTED_COLOR
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt

# - name: Test with pytest
# run: |
# python runtests.py -vv --full-trace
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,18 @@ jobs:
Write-Host $WINDOWS_MSI_NAME
echo "WINDOWS_MSI=$WINDOWS_MSI" >> "$GITHUB_ENV"
echo "WINDOWS_MSI_NAME=$WINDOWS_MSI_NAME" >> "$GITHUB_ENV"
echo "action_state=yellow" >> "$GITHUB_OUTPUT"
- name: Calculate checksum
id: checksum
env:
action_color: $ {{ steps.artifacts_paths.outputs.action_state }}
run: |
$MSI_SUM = $(CertUtil -hashfile "$WINDOWS_MSI" SHA256)[1] -replace " ",""
Write-Host MSI path is: $WINDOWS_MSI
echo $action_color
Write-Host $action_color
echo $WINDOWS_MSI
$MSI_SUM = $(CertUtil -hashfile $WINDOWS_MSI SHA256)[1] -replace " ",""
Write-Host $MSI_SUM
echo "MSI_SUM=$MSI_SUM" >> "GITHUB_ENV"
Expand Down

0 comments on commit 38d8c8a

Please sign in to comment.