Skip to content

EddyTheCo pull_request to develop #35

EddyTheCo pull_request to develop

EddyTheCo pull_request to develop #35

Workflow file for this run

name: build-wasm
run-name: ${{ github.actor }} ${{ github.event_name }} to ${{ github.base_ref }}
on:
push:
tags:
- 'v*'
pull_request:
branches: [develop]
pull_request_target:
types: [closed]
branches: [main]
jobs:
build-html:
uses: EddyTheCo/Common/.github/workflows/build-wasm.yml@main
permissions:
pages: write
id-token: write
with:
qtModules: 'qtwebsockets qtshadertools'
qtVersion: '6.6.0'
emsdkVersion: '3.1.37'
deploy_page: ${{ ((github.event.pull_request.merged == true) && (startsWith(github.base_ref, 'main'))) }}
release:
if: startsWith(github.ref, 'refs/tags/v')
needs: build-html
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
path: artifacts
- name: Display structure of downloaded files
run: ls -R
- name: Releases
uses: softprops/action-gh-release@v1
with:
files: ./artifacts/*/*