Skip to content

Commit

Permalink
optimize workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Apr 3, 2022
1 parent 3ba1b11 commit 61f37c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/Zip-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the bash branch
push:
branches: [ master ]
tags: [ '*' ]

# Allows you to run this workflow manually from the Actions tab
Expand All @@ -17,7 +16,6 @@ jobs:
# This workflow contains a single job called "build"
release:
# The type of runner that the job will run on
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
Expand All @@ -33,7 +31,6 @@ jobs:
run: zip -r sshmount.zip *

- name: setup release
if: startsWith(github.ref, 'refs/tags')
uses: spenserblack/actions-tag-to-release@master

- name: Make release
Expand Down

0 comments on commit 61f37c9

Please sign in to comment.