Browse Source

Update auto_tag.yml

pull/1811/head
Chris Lu 4 years ago
committed by GitHub
parent
commit
5f39dde894
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      .github/workflows/auto_tag.yml

24
.github/workflows/auto_tag.yml

@ -2,35 +2,15 @@
name: tag name: tag
# Controls when the action will run.
on: on:
# Triggers the workflow on push or pull request events but only for the master branch
push: push:
branches: [ master ] branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "build"
build: build:
# The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Latest tag - name: Latest tag
# You may pin to the exact commit or the version.
# uses: EndBug/latest-tag@6d22a6738f5c33059e3a8c6ca5dcf8eaf8a14599
uses: EndBug/latest-tag@v1.4.0 uses: EndBug/latest-tag@v1.4.0
with: with:
# Tag description
description: # optional
# Tag name
tag-name: # optional, default is latest
description: latest master branch builds
tag-name: latest
Loading…
Cancel
Save