diff options
author | Robin Appelman <robin@icewind.nl> | 2021-03-09 18:10:14 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-03-09 18:15:15 +0300 |
commit | be14e1c95acf18e9ffaaa3b22eb5443d50f6bfeb (patch) | |
tree | b78bfec0bfa3307a92b8fc73285913a6fbf8baaf | |
parent | 0d823d974c467bde57e3f69bd216430b56311613 (diff) |
krankerl ci
-rw-r--r-- | .github/workflows/krankler.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/krankler.yml b/.github/workflows/krankler.yml new file mode 100644 index 0000000..4b718ad --- /dev/null +++ b/.github/workflows/krankler.yml @@ -0,0 +1,29 @@ +name: Release + +on: + release: + types: [created] + +env: + APP_NAME: files_markdown + +jobs: + release: + name: Build release + runs-on: ubuntu-20.04 + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Setup krankler + run: | + wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl + chmod +x krankerl + - name: Package app + run: ./krankerl package + - name: Upload binary to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/artifacts/${{ env.APP_NAME }}.tar.gz + asset_name: ${{ env.APP_NAME }}.tar.gz + tag: ${{ github.ref }} |