1
0
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:
Athanasius 2023-01-12 13:47:41 +00:00
parent 2678d7d63f
commit 48a80411b4
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -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: