Upgrade bitn to v0.6.0 with raw_* operations for improved performance… #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Lua | |
| uses: leafo/gh-actions-lua@v11 | |
| with: | |
| luaVersion: '5.4' | |
| - name: Setup LuaRocks | |
| uses: leafo/gh-actions-luarocks@v5 | |
| with: | |
| luarocksVersion: "3.12.2" | |
| - name: Install amalg | |
| run: luarocks install amalg | |
| - name: Build combined module | |
| run: | | |
| # The make build command will automatically inject the version from the git tag | |
| make build | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| draft: false | |
| prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }} | |
| name: Release ${{ github.ref_name }} | |
| tag_name: ${{ github.ref }} | |
| generate_release_notes: true | |
| files: | | |
| build/protobuf.lua | |
| build/protobuf-core.lua |