Test .NET CLI on Ubuntu with Wine #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test .NET CLI on Ubuntu with Wine | |
on: | |
workflow_dispatch: # Allows manual execution from the Actions tab | |
jobs: | |
test-ubuntu-release: | |
runs-on: ubuntu-latest # Use the latest Ubuntu environment | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Install Wine | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
sudo apt install -y wine-stable # Install Wine stable version for running .exe files | |
- name: Install 7-Zip | |
run: sudo apt install -y p7zip-full # Install 7-Zip to extract .7z files | |
- name: Extract Release Archive | |
run: | | |
7z x 'release/latest-unstable/LatestCli.7z' -orelease_extracted # Extract to 'release_extracted' folder | |
- name: List Extracted Files | |
run: ls -l release_extracted # List files to confirm the .exe file is present | |
- name: Run CLI App Help Command | |
run: | | |
wine release_extracted/DescribeTranspiler.CLI.exe -help auto |