Skip to content

Commit b53b6fc

Browse files
committed
fix workflow checkout release tag
1 parent 46b255f commit b53b6fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.desktop.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: release-desktop
22

33
on:
4-
release:
5-
types: [created] # will be triggered when a NON-draft release is created and published.
4+
release:
5+
types: [created]
66

77
permissions:
88
contents: write
@@ -13,13 +13,13 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [macos, ubuntu, windows]
16-
fail-fast: false # So publish runs for other OSes if one fails
16+
fail-fast: false
1717
runs-on: ${{ matrix.os }}-latest
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121
with:
22-
ref: master
22+
ref: ${{ github.event.release.tag_name }}
2323
fetch-depth: 0
2424

2525
- name: Setup Node.js

0 commit comments

Comments
 (0)