summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
blob: ac3485d8fa01a4e194046c8ee92d5c3ba54da199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on:
  release:
    types:
       - published
jobs:
  upload:
    runs-on: ubuntu-latest
    steps:
      - name: Download file
        run: |
          gh release download "$TAG" -p '*.jar' --repo "$REPO"
        env:
          TAG: ${{ github.event.release.tag_name }}
          REPO: ${{ github.repository }}
          GH_TOKEN: ${{ github.token }}
      - name: Show files
        run: |
          ls -Rla .