Skip to content

Commit 04b0470

Browse files
committed
Update release.yml
1 parent 944b227 commit 04b0470

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
- name: Install archive tools
14+
run: sudo apt install zip
15+
1316
- name: Checkout repository
1417
uses: actions/checkout@v2
18+
with:
19+
fetch-depth: 0
20+
ref: ${{ github.event.repository.default_branch }}
1521

1622
- uses: pnpm/[email protected]
1723
with:
@@ -40,9 +46,9 @@ jobs:
4046
cd ./temp && zip -r ../mm_radio.zip ./mm_radio
4147
4248
- name: Create Release
43-
uses: 'marvinpinto/[email protected]'
44-
id: auto_release
49+
uses: 'marvinpinto/action-automatic-releases@latest'
4550
with:
4651
repo_token: '${{ secrets.GITHUB_TOKEN }}'
52+
automatic_release_tag: "latest"
4753
prerelease: false
4854
files: mm_radio.zip

0 commit comments

Comments
 (0)