build(deps): bump goreleaser from v2 to v2.4.5 (#7110)

#### What this PR does / why we need it?

#### Summary of your change

#### Please indicate you've done the following:

- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/).
- [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
This commit is contained in:
吴小白 2024-11-18 14:14:03 +08:00 committed by GitHub
parent ea1afe7610
commit f1afc0f4d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,15 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.npm
~/.cache
~/go/pkg/mod
key: ${{ runner.os }}-1panel-build-${{ github.sha }}
restore-keys: ${{ runner.os }}-1panel-build-
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@ -29,7 +38,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: '~> v2' version: 'v2.4.5'
args: release --skip=publish --clean args: release --skip=publish --clean
- name: Upload Assets - name: Upload Assets
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1