mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +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
|
||||
# directory location
|
||||
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 .. \
|
||||
--exclude=EDMarketConnector-release-*.* \
|
||||
--exclude=.editorconfig \
|
||||
@ -52,6 +52,7 @@ jobs:
|
||||
--exclude=tests \
|
||||
--exclude=wix \
|
||||
EDMarketConnector
|
||||
mv ../EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.tar.gz .
|
||||
|
||||
- name: Upload build files
|
||||
uses: actions/upload-artifact@v3
|
||||
@ -124,7 +125,7 @@ jobs:
|
||||
release:
|
||||
name: Release new version
|
||||
runs-on: ubuntu-latest
|
||||
needs: windows_build
|
||||
needs: [ windows_build, linux_build ]
|
||||
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
||||
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user