Skip to content

Commit

Permalink
Create build_and_upload_bins.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
UE4SS committed Jul 18, 2023
1 parent 8635cba commit 6cdf248
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build_and_upload_bins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build & upload luajit bins

on:
workflow_dispatch:
push:
branches: [ "v2.1" ]

permissions:
contents: read

jobs:
make-release:
permissions: write-all
runs-on: windows-2022

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1

- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@v3

- name: Build
run: |
cd src
%VS2022INSTALLDIR%/VC/Auxiliary/Build/vcvars64.bat
msvcbuild.bat static
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: bins
files: |
src/luajit.lib
src/lua51.lib

0 comments on commit 6cdf248

Please sign in to comment.