Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
harshadgavali committed Aug 5, 2021
1 parent 3a2256a commit 9e80fac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/prerelease.yaml
Expand Up @@ -2,7 +2,9 @@ name: Pre release

on:
push:
branches: [ main, dev ]
branches:
- main
- dev

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Expand Up @@ -10,6 +10,7 @@ env:

jobs:
Release:
if: github.event.base_ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -18,7 +19,7 @@ jobs:
id: zipName
run: |
echo "::set-output name=tagname::${GITHUB_REF#refs/*/}"
echo "::set-output name=filename::'gnome-x11-gesture-daemon.${GITHUB_REF#refs/*/}'"
echo "::set-output name=filename::'gnome-x11-gesture-daemon.${GITHUB_REF#refs/*/}.zip'"
- name: Install dependencies
run: sudo apt update && sudo apt install -y libinput-dev
Expand Down

0 comments on commit 9e80fac

Please sign in to comment.