Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@neyunse
Copy link
Collaborator

@neyunse neyunse commented Aug 4, 2025

No description provided.

Copilot AI review requested due to automatic review settings August 4, 2025 02:32
@neyunse neyunse merged commit 45e0ddc into dev Aug 4, 2025
1 check was pending
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the GitHub Actions workflow to modify the env.py file generation process by creating a temporary file in the root directory before copying it to the target location.

  • Changes the env.py generation to create the file in the root directory first
  • Adds a copy operation to move the file to the ./vne/ directory
  • Uses platform-specific copy commands (copy for Windows, cp for Unix-like systems)

echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> ./vne/env.py
echo "import os" >> env.py
echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> env.py
copy env.py ./vne/env.py
Copy link

Copilot AI Aug 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'copy' command is not available on Ubuntu runners. This will cause the Ubuntu job to fail since 'copy' is a Windows-specific command.

Copilot uses AI. Check for mistakes.
echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> ./vne/env.py
echo "import os" >> env.py
echo "os.environ['VNE_KEY'] = '${{ secrets.VNE_KEY }}'" >> env.py
cp env.py ./vne/env.py
Copy link

Copilot AI Aug 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'cp' command is not available on Windows runners. This will cause the Windows job to fail since 'cp' is a Unix-specific command.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants