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 fcc93d6
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 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,18 +28,22 @@ 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
with:
body_path: Release.md
body_path: bakery/Release.md
files: |
SHA256SUMS
*.raw
*.conf
bakery/SHA256SUMS
bakery/*.raw
bakery/*.conf

0 comments on commit fcc93d6

Please sign in to comment.