Skip to content

Commit 368783b

Browse files
committed
Publish on tag as draft/always build
1 parent 15028fa commit 368783b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build updates.json file
33
# Run this workflow on every push or pull request
44
on:
55
push:
6-
branches:
7-
- main
6+
# branches:
7+
# - main
88

99
# Docs on sharing data between jobs (between VMs): https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts#passing-data-between-jobs-in-a-workflow
1010
jobs:
@@ -28,13 +28,13 @@ jobs:
2828
# Can be removed once it is unlikely people are using the old installer
2929
- name: Release
3030
uses: softprops/action-gh-release@v1
31-
#if: startsWith(github.ref, 'refs/tags/') # only publish tagged commits
31+
if: startsWith(github.ref, 'refs/tags/') # only publish tagged commits
3232
with:
3333
tag_name: ${{ env.NOW }}
3434
files: |
3535
*.json
3636
*.zip
37-
# draft: true
37+
draft: true
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040

0 commit comments

Comments
 (0)