Skip to content

Commit

Permalink
Merge pull request #45 from flatcar/t-lo/fix-ci-repo-dir
Browse files Browse the repository at this point in the history
release.yaml: fix git repo directory
  • Loading branch information
t-lo committed Feb 13, 2024
2 parents d256cb4 + 7d65243 commit 7670ec8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
# checkout the sources
- uses: actions/checkout@v4
with:
path: bakery

# prepare build host
- name: install prerequisites
run: |
Expand All @@ -25,12 +28,16 @@ jobs:
gawk
- name: build release artifacts
run: release_build.sh
run: |
pushd bakery
./release_build.sh
- name: delete previous latest release
run: gh release delete latest --cleanup-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pushd bakery
gh release delete latest --cleanup-tag
- name: create a new latest release with all artifacts
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 7670ec8

Please sign in to comment.