Skip to content

Commit

Permalink
CI: Publish the example project with pre-built binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriSizov committed Apr 13, 2024
1 parent 5bd9c18 commit 1169b01
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/actions/publish-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ runs:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload latest-unstable libgdsion-${{ env.SCONS_PLATFORM }}.zip --clobber
gh release edit latest-unstable --target main
30 changes: 30 additions & 0 deletions .github/workflows/build-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,33 @@ jobs:

- name: Publish release
uses: ./.github/actions/publish-extension

build-example-project:
name: Export and publish the example project
runs-on: ubuntu-latest
needs: [ build-linux, build-macos, build-windows, build-web ]

steps:
- uses: actions/checkout@v4

- name: Download GDSiON artifacts
uses: actions/download-artifact@v4
with:
path: example/bin
merge-multiple: true

- name: Archive the example project
uses: thedoctor0/[email protected]
with:
type: zip
directory: example
filename: libgdsion-example-project.zip

- name: Update the rolling release with the example project
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload latest-unstable example/libgdsion-example-project.zip --clobber
gh release edit latest-unstable --target $(git log --format="%H" -n 1)

0 comments on commit 1169b01

Please sign in to comment.