mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-31 01:24:31 +02:00
ci: bump choco action to v3.0.0 and replace release deletion action (#1402)
* ci: bump choco action to v3.0.0 and replace release delete action with gh * back to action since it isn't a git repo * let's test if gh works fine if I pull repo
This commit is contained in:
parent
db9e97a0df
commit
59b7650999
2
.github/workflows/build_releases.yml
vendored
2
.github/workflows/build_releases.yml
vendored
@ -225,7 +225,7 @@ jobs:
|
|||||||
run: Install-WindowsFeature Net-Framework-Core
|
run: Install-WindowsFeature Net-Framework-Core
|
||||||
|
|
||||||
- name: Install wixtoolset
|
- name: Install wixtoolset
|
||||||
uses: crazy-max/ghaction-chocolatey@5a5864861ce2c988001531e48993aa687c51f6c8 # 2.2.0
|
uses: crazy-max/ghaction-chocolatey@0e015857dd851f84fcb7fb53380eb5c4c8202333 # v3.0.0
|
||||||
with:
|
with:
|
||||||
args: install -y wixtoolset
|
args: install -y wixtoolset
|
||||||
|
|
||||||
|
14
.github/workflows/nightly.yml
vendored
14
.github/workflows/nightly.yml
vendored
@ -48,6 +48,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-release]
|
needs: [build-release]
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Get release artifacts
|
- name: Get release artifacts
|
||||||
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
||||||
with:
|
with:
|
||||||
@ -60,12 +65,9 @@ jobs:
|
|||||||
echo "Generated $(ls ./release | wc -l) files:"
|
echo "Generated $(ls ./release | wc -l) files:"
|
||||||
du -h -d 0 ./release/*
|
du -h -d 0 ./release/*
|
||||||
|
|
||||||
- name: Delete tag and release
|
- name: Delete tag and release if not mock
|
||||||
uses: ClementTsang/delete-tag-and-release@v0.3.1
|
|
||||||
if: github.event.inputs.isMock != 'mock'
|
if: github.event.inputs.isMock != 'mock'
|
||||||
with:
|
run: gh release delete nightly --cleanup-tag
|
||||||
delete_release: true
|
|
||||||
tag_name: nightly
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -73,7 +75,7 @@ jobs:
|
|||||||
run: sleep 10
|
run: sleep 10
|
||||||
if: github.event.inputs.isMock != 'mock'
|
if: github.event.inputs.isMock != 'mock'
|
||||||
|
|
||||||
- name: Add all release files to nightly release if not mock
|
- name: Add all release files and create nightly release if not mock
|
||||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # 0.1.15
|
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # 0.1.15
|
||||||
if: github.event.inputs.isMock != 'mock'
|
if: github.event.inputs.isMock != 'mock'
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user