mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 18:07:37 +03:00
windows-build/tar: Make archive at .. and then mv into 'root'
* Because the archive is a new file in the root it causes: `tar: EDMarketConnector: file changed as we read it` Verified on Linux/Debian, and also verified that this fix works.
This commit is contained in:
parent
2678d7d63f
commit
48a80411b4
5
.github/workflows/windows-build.yml
vendored
5
.github/workflows/windows-build.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
# For 'tar' we can only specify filename/glob exclusions, not any
|
# For 'tar' we can only specify filename/glob exclusions, not any
|
||||||
# directory location
|
# directory location
|
||||||
tar -c -v -z \
|
tar -c -v -z \
|
||||||
-f EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz \
|
-f ../EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz \
|
||||||
-C .. \
|
-C .. \
|
||||||
--exclude=EDMarketConnector-release-*.* \
|
--exclude=EDMarketConnector-release-*.* \
|
||||||
--exclude=.editorconfig \
|
--exclude=.editorconfig \
|
||||||
@ -52,6 +52,7 @@ jobs:
|
|||||||
--exclude=tests \
|
--exclude=tests \
|
||||||
--exclude=wix \
|
--exclude=wix \
|
||||||
EDMarketConnector
|
EDMarketConnector
|
||||||
|
mv ../EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz .
|
||||||
|
|
||||||
- name: Upload build files
|
- name: Upload build files
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
@ -124,7 +125,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Release new version
|
name: Release new version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: windows_build
|
needs: [ windows_build, linux_build ]
|
||||||
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user