Skip to content

Commit 6aa721b

Browse files
authored
Update nightly.yml
fix issue with older nightly builds not getting cleared
1 parent d746136 commit 6aa721b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/nightly.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,22 @@ jobs:
6060
id: createpackage
6161
- name: List output directory
6262
run: ls -lah out/
63-
6463
- name: Upload to GitHub Release
65-
uses: softprops/action-gh-release@v2.1.0
64+
uses: ncipollo/release[email protected]
6665
with:
6766
token: ${{ secrets.GITHUB_TOKEN }}
68-
tag_name: "nightly"
69-
files: |
67+
tag: "nightly"
68+
artifacts: |
7069
out/of_v*.tar.gz
7170
out/of_v*.zip
71+
allowUpdates: true
72+
removeArtifacts: true
73+
replacesArtifacts: true
74+
# - name: Upload to GitHub Release
75+
# uses: softprops/[email protected]
76+
# with:
77+
# token: ${{ secrets.GITHUB_TOKEN }}
78+
# tag_name: "nightly"
79+
# files: |
80+
# out/of_v*.tar.gz
81+
# out/of_v*.zip

0 commit comments

Comments
 (0)