Skip to content

Commit

Permalink
Release: create nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Sep 12, 2024
1 parent 6578ec6 commit 139a150
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
sparse-checkout: ${{ matrix.board }}
- name: build source package
run: |
mv ${{ matrix.board }} slint-cpp-template-${{ matrix.board }}
mv ${{ matrix.board }} slint-cpp-template-${{ matrix.board }}
zip -r slint-cpp-template-${{ matrix.board }}.zip slint-cpp-template-${{ matrix.board }}/
- name: "Upload extension artifact"
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -56,3 +56,26 @@ jobs:
run: |
cmake --build --preset Debug
create_release:
needs: [test_packages]
runs-on: ubuntu-22.04
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
- name: Create GitHub Release
run: |
gh release create nightly \
--repo ${{ github.repository }} \
--title "Nightly" \
--generate-notes
- name: Upload Release Assets
run: |
for zip in slint-cpp-template-*/zetal-cpp-template-*.zip; do
gh release upload nightly "$zip" --repo ${{ github.repository }}
done

0 comments on commit 139a150

Please sign in to comment.