Skip to content

Commit 903cff1

Browse files
authored
only make releases on master :0
1 parent fbfeb9e commit 903cff1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535

3636

3737
- name: Make a tag name
38-
# if: github.ref == 'refs/heads/master'
38+
if: github.ref == 'refs/heads/master'
3939
run: |
4040
echo "::set-output name=tag::$(date +%Y%m%d%H%M%S)"
4141
id: tag_make
4242

4343
- name: Create blank release
44-
# if: github.ref == 'refs/heads/master'
44+
if: github.ref == 'refs/heads/master'
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
run:
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Add jar Release
5252
uses: softprops/action-gh-release@v1
53-
# if: github.ref == 'refs/heads/master'
53+
if: github.ref == 'refs/heads/master'
5454
with:
5555
tag_name: ${{ steps.tag_make.outputs.tag }}
5656
files: main/build/libs/ProjectUnity.jar

0 commit comments

Comments
 (0)