Skip to content

Commit

Permalink
release.yaml: fix git repo directory
Browse files Browse the repository at this point in the history
This change fixes an issue with the release github action that led to
the release build script not being found after check-out:

 > Run release_build.sh
    /home/runner/work/_temp/8f920e48-5134-4d40-afcc-45d61f2f9226.sh: line 1: release_build.sh: command not found
    Error: Process completed with exit code 127.

Signed-off-by: Thilo Fromm <[email protected]>
  • Loading branch information
t-lo committed Feb 13, 2024
1 parent d256cb4 commit 7d65243
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 7d65243

Please sign in to comment.