Remove version from commands, some powershell syntax issues
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -148,14 +148,18 @@ jobs:
|
||||
run: |
|
||||
$tag = micromamba run -n eos_build python -c "import eos; print('v'+eos.__version__)"
|
||||
$tag = $tag.Trim()
|
||||
echo "Release tag extracted: $tag"
|
||||
"RELEASE_TAG=$tag" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
echo "File written to: $env:GITHUB_ENV"
|
||||
- name: Build with pyinstaller
|
||||
shell: powershell
|
||||
run: |
|
||||
echo "Transferred tag: $RELEASE_TAG or ${{ env.RELEASE_TAG }}."
|
||||
micromamba activate eos_build
|
||||
pyinstaller windows_build.spec
|
||||
cd dist\eos
|
||||
Compress-Archive -Path .\* -Destination ..\..\eos.zip
|
||||
echo "Transferred tag: $RELEASE_TAG or ${{ env.RELEASE_TAG }}."
|
||||
#pyinstaller windows_build.spec
|
||||
#cd dist\eos
|
||||
#Compress-Archive -Path .\* -Destination ..\..\eos.zip
|
||||
- name: Update Release
|
||||
if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
uses: actions/gitea-release-action@v1
|
||||
|
||||
Reference in New Issue
Block a user