Skip to content

Commit

Permalink
fix: ci configuration to match branch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubxity committed Jun 23, 2021
1 parent 1e15143 commit 47e66b9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: gradle-preview-ci
on:
push:
branches: [ "dev" ]
branches: [ "dev/*" ]

jobs:
build:
Expand All @@ -17,10 +17,13 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew shadowJar --no-daemon
- name: Set variables
id: vars
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
automatic_release_tag: "${{ steps.vars.outputs.short_ref }}"
prerelease: true
title: "Development Build"
files: |
Expand Down

0 comments on commit 47e66b9

Please sign in to comment.