diff --git a/.github/workflows/package_header_only_on_release.yml b/.github/workflows/package_header_only_on_release.yml new file mode 100644 index 0000000..6b46758 --- /dev/null +++ b/.github/workflows/package_header_only_on_release.yml @@ -0,0 +1,28 @@ +name: Prepare Release Page + +on: + push: + tags: + - 'v*' + +jobs: + package-and-upload: + runs-on: ubuntu-latest + steps: + - name: Checkout Main Branch + uses: actions/checkout@v2 + with: + ref: main + + - name: Create Main Zip Package + run: | + mkdir archive + zip -r meta-openxr-sdk.zip * -x 'archive/' + mv meta-openxr-sdk.zip archive/ + + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + files: archive/*.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}