Skip to content

Commit

Permalink
Fix release.yml
Browse files Browse the repository at this point in the history
- fix extname .tar.gz -> .gz
- update action-gh-release version
- removed action-release-checksums
  • Loading branch information
kojix2 committed Jun 27, 2024
1 parent 19e6c73 commit 0ba5fb5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
docker exec alpine shards build --release --static
docker exec alpine chmod +x bin/deepl
docker exec alpine gzip bin/deepl
docker exec alpine mv bin/deepl.gz bin/deepl-linux.tar.gz
docker exec alpine mv bin/deepl.gz bin/deepl-linux.gz
- name: Run Mac Build x64
if: matrix.os == 'macos'
Expand All @@ -42,7 +42,7 @@ jobs:
shards build --release
chmod +x bin/deepl
gzip bin/deepl
mv bin/deepl.gz bin/deepl-macos.tar.gz
mv bin/deepl.gz bin/deepl-macos.gz
- name: Run Windows Build x64
if: matrix.os == 'windows'
Expand All @@ -53,13 +53,10 @@ jobs:
Compress-Archive -Path bin/deepl.exe -DestinationPath bin/deepl-windows.zip
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
bin/deepl-linux.tar.gz
bin/deepl-macos.tar.gz
bin/deepl-linux.gz
bin/deepl-macos.gz
bin/deepl-windows.zip
LICENSE.txt
- name: Checksums
uses: wangzuo/action-release-checksums@v1

0 comments on commit 0ba5fb5

Please sign in to comment.