mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-12-23 09:19:21 +00:00
Use GNU tar on macOS deployment server
This commit is contained in:
parent
03639d8d36
commit
ba4e6385b7
1 changed files with 20 additions and 20 deletions
40
.github/workflows/deploy.yml
vendored
40
.github/workflows/deploy.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
archive_type: application/zip
|
||||
- os: macos-latest
|
||||
archive_file: texlab-x86_64-macos.tar.gz
|
||||
archive_cmd: tar -czvf {0} -C target/release texlab
|
||||
archive_cmd: brew install gnu-tar; gtar -czvf {0} -C target/release texlab
|
||||
archive_type: application/gzip
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
@ -39,22 +39,22 @@ jobs:
|
|||
asset_content_type: ${{ matrix.archive_type }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ctan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: git archive --prefix=texlab/ -o texlab.zip HEAD
|
||||
- id: get-version
|
||||
run: |
|
||||
RELEASE_TAG=${{ github.event.release.tag_name }}
|
||||
echo "::set-output name=version::${RELEASE_TAG:1}"
|
||||
- uses: paolobrasolin/ctan-submit-action@v1
|
||||
with:
|
||||
action: upload
|
||||
file_path: texlab.zip
|
||||
fields: |
|
||||
pkg: texlab
|
||||
version: ${{ steps.get-version.outputs.version }}
|
||||
uploader: Eric Förster
|
||||
email: eric.foerster@outlook.com
|
||||
update: 'true'
|
||||
# ctan:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - run: git archive --prefix=texlab/ -o texlab.zip HEAD
|
||||
# - id: get-version
|
||||
# run: |
|
||||
# RELEASE_TAG=${{ github.event.release.tag_name }}
|
||||
# echo "::set-output name=version::${RELEASE_TAG:1}"
|
||||
# - uses: paolobrasolin/ctan-submit-action@v1
|
||||
# with:
|
||||
# action: upload
|
||||
# file_path: texlab.zip
|
||||
# fields: |
|
||||
# pkg: texlab
|
||||
# version: ${{ steps.get-version.outputs.version }}
|
||||
# uploader: Eric Förster
|
||||
# email: eric.foerster@outlook.com
|
||||
# update: 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue