mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
e4d9ab70af
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...c7d193f32e
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
37 lines
965 B
YAML
37 lines
965 B
YAML
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'COPYING'
|
|
- 'website/**'
|
|
- '.github/*.md'
|
|
- '.github/FUNDING.yml'
|
|
|
|
name: Build Code
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: pwsh
|
|
steps:
|
|
- name: Checkout code 👋
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
- name: Install Go 🗳
|
|
uses: ./.github/workflows/composite/bootstrap-go
|
|
- name: Run GoReleaser 🚀
|
|
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8
|
|
with:
|
|
distribution: goreleaser
|
|
version: latest
|
|
args: build --rm-dist --snapshot --skip-post-hooks --skip-before
|
|
workdir: src
|
|
- name: Archive production artifacts
|
|
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
|
|
with:
|
|
name: builds
|
|
retention-days: 1
|
|
path: |
|
|
src/dist
|