[GHA] Modify releases.yml

This commit is contained in:
Mitchell Krog 2021-07-05 14:29:18 +02:00
parent bea44573cd
commit d82ceb87dd
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -1,24 +1,17 @@
name: "tagged-release" name: Releases
on: on:
push: push:
tags: tags:
- "*" - '*'
jobs: jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
build:
runs-on: ubuntu-latest
steps: steps:
- name: "Deploy Release" - uses: actions/checkout@v2
run: | - uses: ncipollo/release-action@v1
echo "Deploying" with:
artifacts: "README.md,LICENSE.md"
- uses: "marvinpinto/action-automatic-releases@latest" token: ${{ secrets.GITHUB_TOKEN }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
README.md
LICENSE.md