add github automatic release action

This commit is contained in:
Dragos Mateescu 2021-06-07 13:12:29 +03:00
parent 33af02a672
commit eddc8a1f83

View file

@ -1,17 +1,28 @@
name: GitHub Actions Demo ---
on: [push] name: "pre-release"
on:
push:
branches:
- "master"
jobs: jobs:
Explore-GitHub-Actions: pre-release:
runs-on: ubuntu-latest name: "Pre Release"
runs-on: "ubuntu-latest"
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." # ...
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - name: "Build & test"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: | run: |
ls ${{ github.workspace }} echo "done!"
- run: echo "🍏 This job's status is ${{ job.status }}."
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE.txt
*.jar