Skip to content

Commit

Permalink
push workflow for automatic release page
Browse files Browse the repository at this point in the history
  • Loading branch information
WenlinMao committed May 22, 2024
1 parent 5bee079 commit 75dc0cc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/package_header_only_on_release.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 75dc0cc

Please sign in to comment.