Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f
Browse files Browse the repository at this point in the history
mistricky committed Mar 13, 2024
1 parent 36846ba commit 900151b
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ jobs:
- stable
steps:
- uses: actions/checkout@v3

- name: Build library
uses: houseabsolute/actions-rust-cross@v0
with:
@@ -47,24 +48,10 @@ jobs:
run: cp generator/target/${{ matrix.platform.target }}/release/libgenerator.${{ matrix.platform.origin_dylib_suffix }} lua/${{ matrix.platform.os_name }}generator.${{ matrix.platform.dest_dylib_suffix }}

- name: Commit changes
uses: EndBug/add-and-commit@v9
uses: stefanzweifel/git-auto-commit-action@v5
with:
tag_push: '--force'
pull: '--rebase'
message: "[Update] build FFI dynamic library"
# - name: Rename binary (linux and macos)
# run: mv target/${{ matrix.platform.target }}/release/figctl target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
# if: matrix.platform.os_name != 'Windows-x86_64'
#
# - name: Rename binary (windows)
# run: mv target/${{ matrix.platform.target }}/release/figctl.exe target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
# if: matrix.platform.os_name == 'Windows-x86_64'
# - name: Generate SHA-256
# run: shasum -a 256 target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} | cut -d ' ' -f 1 > target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}.sha256
#
# - name: Release binary and SHA-256 checksum to GitHub
# uses: softprops/action-gh-release@v1
# with:
# files: |
# target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
# target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}.sha256
commit_message: "[Update] build FFI dynamic library"
push_options: '--force'
skip_dirty_check: true
skip_fetch: true

0 comments on commit 900151b

Please sign in to comment.