We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fbeb25b + 74a5f3a commit cdbbf02Copy full SHA for cdbbf02
1 file changed
.github/workflows/build.yml
@@ -69,3 +69,23 @@ jobs:
69
build/Release/RacingEngine.exe
70
shaders/compiled/*.spv
71
retention-days: 30
72
+
73
+ - name: Prepare Package
74
+ if: github.event_name == 'push'
75
+ run: |
76
+ mkdir dist
77
+ copy build/Release/RacingEngine.exe dist/
78
+ mkdir dist/shaders/compiled
79
+ copy shaders/compiled/*.spv dist/shaders/compiled/
80
+ Compress-Archive -Path dist/* -DestinationPath RacingEngine-Windows-${{ github.sha }}.zip
81
+ shell: pwsh
82
83
+ - name: Create Release
84
85
+ uses: ncipollo/release-action@v1
86
+ with:
87
+ tag: commit-${{ github.sha }}
88
+ name: Release ${{ github.sha }}
89
+ body: Auto-generated release for commit ${{ github.sha }}
90
+ artifacts: RacingEngine-Windows-${{ github.sha }}.zip
91
+ token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments