Skip to content

Commit

Permalink
workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Apr 26, 2023
1 parent 064b1ba commit b72c9f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ jobs:
VERSION: ${{ github.ref_name }}
run: |
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
mv target/${{ matrix.target }}/release/et et
tar -cavf et-${VERSION}-${{ matrix.target }}.tar.gz et CHANGELOG.md README.md LICENSE
bash upload.sh et-${VERSION}-${{ matrix.target }}.tar.gz
mv target/${{ matrix.target }}/release/erd erd
tar -cavf erd-${VERSION}-${{ matrix.target }}.tar.gz erd CHANGELOG.md README.md LICENSE
bash upload.sh erd-${VERSION}-${{ matrix.target }}.tar.gz
- name: Rename files (only for Windows)
if: matrix.target == 'x86_64-pc-windows-msvc'
env:
VERSION: ${{ github.ref_name }}
run: |
mkdir output/
mv target/${{ matrix.target }}/release/et.exe output/et-$env:VERSION-${{ matrix.target }}.exe
mv target/${{ matrix.target }}/release/erd.exe output/erd-$env:VERSION-${{ matrix.target }}.exe
- name: Upload files (only for Windows)
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit b72c9f9

Please sign in to comment.