Skip to content

Commit 9833b07

Browse files
authored
Update CI.yml
1 parent 9cb8516 commit 9833b07

File tree

1 file changed

+11
-41
lines changed

1 file changed

+11
-41
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -92,35 +92,17 @@ jobs:
9292
name: PS2BBL
9393
path: |
9494
release/*
95-
96-
# - name: last week changelog
97-
# run: |
98-
# git --no-pager log --pretty=format:"- %h:%as %>(18)%an: %s" --since="Last Week">CHANGELOG
99-
# echo CHANGELOG=$(cat CHANGELOG) >> $GITHUB_ENV
100-
# echo ${{ env.CHANGELOG }}
101-
102-
- uses: ClementTsang/delete-tag-and-release@v0.3.1
95+
96+
- name: Create prerelease
10397
if: github.ref == 'refs/heads/main'
98+
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
10499
with:
105-
delete_release: true
106-
tag_name: latest
107-
env:
108-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109-
110-
- name: Create release
111-
if: github.ref == 'refs/heads/main'
112-
uses: softprops/action-gh-release@v2
113-
with:
100+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
114101
prerelease: true
115-
generate_release_notes: true
116-
tag_name: "latest"
117-
name: "Latest development build"
102+
automatic_release_tag: "latest"
103+
title: "Latest development build"
118104
files: |
119105
PS2BBL.7z
120-
body: |
121-
![dl](https://img.shields.io/github/downloads/israpps/PlayStation2-Basic-BootLoader/latest/total?style=for-the-badge&logo=github)
122-
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
123-
${{ env.CHANGELOG }}
124106
125107
- name: notify on discord
126108
if: github.ref == 'refs/heads/main'
@@ -198,25 +180,13 @@ jobs:
198180
# echo CHANGELOG=$(cat CHANGELOG) >> $GITHUB_ENV
199181
# echo ${{ env.CHANGELOG }}
200182

201-
- uses: ClementTsang/delete-tag-and-release@v0.3.1
202-
if: github.ref == 'refs/heads/main'
203-
with:
204-
delete_release: true
205-
tag_name: opentuna
206-
env:
207-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
208-
209-
- name: Create release
183+
- name: Create prerelease
210184
if: github.ref == 'refs/heads/main'
211-
uses: softprops/action-gh-release@v2
185+
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
212186
with:
187+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
213188
prerelease: true
214-
generate_release_notes: true
215-
tag_name: "opentuna"
216-
name: "Latest PS2BBL + OpenTuna"
189+
automatic_release_tag: "opentuna"
190+
title: "Latest PS2BBL + OpenTuna"
217191
files: |
218192
PS2BBL_OpenTuna_Installer.7z
219-
body: |
220-
![dl](https://img.shields.io/github/downloads/israpps/PlayStation2-Basic-BootLoader/latest/total?style=for-the-badge&logo=github)
221-
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
222-
${{ env.CHANGELOG }}

0 commit comments

Comments
 (0)