mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 18:33:13 +03:00
windows-build/tar: Move to running under ubuntu
* On windows specifying only filenames to exclusions causes things like `tar: .editorconfig: Cannot stat: No such file or directory` But putting `EDMarketConnector/` prefix on such means they don't work. * Testing with 'git bash' GNU tar 1.34: `tar -c -v -z -f edmc-test.tar.gz --exclude=.editorconfig --exclude=.git\* EDMarketConnector` works, with empty output from: `tar tfvz edmc-test.tar.gz | grep editorconfig`
This commit is contained in:
parent
3e05f91949
commit
042c8d4ff2
36
.github/workflows/windows-build.yml
vendored
36
.github/workflows/windows-build.yml
vendored
@ -21,16 +21,6 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
core.setOutput('sem_ver', '${{ github.ref_name }}'.replaceAll('Release\/', ''))
|
core.setOutput('sem_ver', '${{ github.ref_name }}'.replaceAll('Release\/', ''))
|
||||||
|
|
||||||
windows_build:
|
|
||||||
needs: [variables]
|
|
||||||
name: Build EDMC
|
|
||||||
runs-on: windows-2019
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: powershell
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -44,8 +34,29 @@ jobs:
|
|||||||
path: 'EDMarketConnector'
|
path: 'EDMarketConnector'
|
||||||
filename: 'EDMarketConnector/EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz'
|
filename: 'EDMarketConnector/EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz'
|
||||||
# For 'tar' we can only specify filenames, not any directory location
|
# For 'tar' we can only specify filenames, not any directory location
|
||||||
# exclusions: 'EDMarketConnector-release-*.* .editorconfig .flake8 .git* .mypy.ini .pre-commit-config.yaml Build-exe-and-msi.py *.manifest coriolis-data img pyproject.toml scripts tests wix'
|
exclusions: 'EDMarketConnector-release-*.* .editorconfig .flake8 .git* .mypy.ini .pre-commit-config.yaml Build-exe-and-msi.py *.manifest coriolis-data img pyproject.toml scripts tests wix'
|
||||||
exclusions: 'EDMarketConnector/EDMarketConnector-release-*.* EDMarketConnector/.editorconfig EDMarketConnector/.flake8 EDMarketConnector/.git* EDMarketConnector/.mypy.ini EDMarketConnector/.pre-commit-config.yaml EDMarketConnector/Build-exe-and-msi.py EDMarketConnector/*.manifest EDMarketConnector/coriolis-data/ EDMarketConnector/img/ EDMarketConnector/pyproject.toml EDMarketConnector/scripts/ EDMarketConnector/tests/ EDMarketConnector/wix/'
|
# exclusions: 'EDMarketConnector/EDMarketConnector-release-*.* EDMarketConnector/.editorconfig EDMarketConnector/.flake8 EDMarketConnector/.git* EDMarketConnector/.mypy.ini EDMarketConnector/.pre-commit-config.yaml EDMarketConnector/Build-exe-and-msi.py EDMarketConnector/*.manifest EDMarketConnector/coriolis-data/ EDMarketConnector/img/ EDMarketConnector/pyproject.toml EDMarketConnector/scripts/ EDMarketConnector/tests/ EDMarketConnector/wix/'
|
||||||
|
|
||||||
|
- name: Upload build files
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Built files
|
||||||
|
path: |
|
||||||
|
EDMarketConnector-release-*.tar.gz
|
||||||
|
|
||||||
|
windows_build:
|
||||||
|
needs: [variables]
|
||||||
|
name: Build EDMC
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: powershell
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Make zip archive
|
- name: Make zip archive
|
||||||
uses: thedoctor0/zip-release@main
|
uses: thedoctor0/zip-release@main
|
||||||
@ -93,7 +104,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
EDMarketConnector_win_*.msi
|
EDMarketConnector_win_*.msi
|
||||||
EDMarketConnector-release-*.zip
|
EDMarketConnector-release-*.zip
|
||||||
EDMarketConnector-release-*.tar.gz
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release new version
|
name: Release new version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user