Skip to content

Commit 978b0cc

Browse files
committed
fix repo refs on release.yml
1 parent 078906f commit 978b0cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
echo "::set-output name=jar_path::$JAR_FILE" #For compatibility with older github versions
4545
4646
- name: Create Release
47-
if: github.ref == 'refs/heads/main' # o la rama correcta
47+
if: github.ref == 'refs/heads/neoforge_1.21.1' # o la rama correcta
4848
uses: actions/create-release@v1
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -58,7 +58,7 @@ jobs:
5858
prerelease: false
5959

6060
- name: Upload Release Asset
61-
if: github.ref == 'refs/heads/main' # o la rama correcta
61+
if: github.ref == 'refs/heads/neoforge_1.21.1' # o la rama correcta
6262
uses: actions/upload-release-asset@v1
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)