Skip to content

Commit

Permalink
run on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
mircobabini committed Aug 24, 2021
1 parent 96cadba commit d3f1623
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: Release

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
tags:
- '*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -35,5 +30,5 @@ jobs:
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "swim-wp-cli.zip"
artifacts: 'swim-wp-cli.zip'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d3f1623

Please sign in to comment.