Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboolic authored Jul 20, 2024
1 parent c167709 commit 1c93b5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Pack and Release
on:
push:
branches:
- main
- master
tags:
- '[0-9]+.*'
paths:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
zip -r dist/opencc.zip opencc
- name: Create nightly release
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/master' }}
uses: 'softprops/action-gh-release@v2'
with:
body: |
Expand Down Expand Up @@ -66,4 +66,4 @@ jobs:
draft: true
make_latest: true
files: |
dist/*
dist/*

0 comments on commit 1c93b5f

Please sign in to comment.