mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
add github automatic release action
This commit is contained in:
parent
33af02a672
commit
eddc8a1f83
1 changed files with 25 additions and 14 deletions
39
.github/workflows/github-actions.yml
vendored
39
.github/workflows/github-actions.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue