Skip to content

fix: config.tar.zst corrupt #15

fix: config.tar.zst corrupt

fix: config.tar.zst corrupt #15

Workflow file for this run

name: Release
on:
push:
paths:
- "src/**"
- "!**.md"
- ".github/**"
workflow_dispatch:
permissions: write-all
jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-musl
archive: tar.gz tar.xz tar.zst
steps:
- uses: actions/checkout@master
- name: Compile and release
id: compile
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
EXTRA_FILES: "LICENSE README.md"
UPLOAD_MODE: release
- name: show dir
run: |
pwd
ls -alh
- name: upload release
if: startsWith(github.event.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.compile.outputs.BUILT_ARCHIVE }}
asset_name: yarusto_x86_64-${{ github.ref_name }}.tar.zst
tag: ${{ github.ref }}
overwrite: true