Skip to content

Commit

Permalink
WIP: replaced all deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Jul 18, 2024
1 parent b3231d0 commit a029c72
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/develop-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
- name: Set environment variables
id: set-vars
run: |
echo "::set-output name=latest_sdk::${{ env.LATEST_RELEASED_SDK}}"
echo "::set-output name=latest_opencv::${{ env.LATEST_OPENCV_VERSION}}"
echo "::set-output name=latest_opencv_bin::${{ env.LATEST_OPENCV_BIN_PATH}}"
echo "latest_sdk=${{ env.LATEST_RELEASED_SDK}}" >>$GITHUB_OUTPUT
echo "latest_opencv=${{ env.LATEST_OPENCV_VERSION}}" >>$GITHUB_OUTPUT
echo "latest_opencv_bin=${{ env.LATEST_OPENCV_BIN_PATH}}" >>$GITHUB_OUTPUT
generate_config:
runs-on: windows-latest
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/[email protected]

- name: Setup Python
uses: actions/setup-python@v4.7.1
uses: actions/setup-python@v5
with:
python-version: "3.11.4"

Expand Down Expand Up @@ -124,10 +124,8 @@ jobs:
$filePath = "${env:LOCALAPPDATA}\sensing-dev\opencv"
if (Test-Path $filePath) {
Write-Output "File exists: $filePath"
Write-Output "::set-output name=file_exists::true"
} else {
Write-Output "File does not exist: $filePath"
Write-Output "::set-output name=file_exists::false"
exit 1
}
Expand Down Expand Up @@ -198,7 +196,7 @@ jobs:

steps:
- name: Setup Python
uses: actions/setup-python@v4.7.1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

Expand Down

0 comments on commit a029c72

Please sign in to comment.