Skip to content

Commit

Permalink
feat(ci): autocommit artifacts to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Nov 23, 2023
1 parent 814a0d5 commit 178b4fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-luarocks-rust-build-mlua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: |
luarocks --local --lua-version=5.1 install luarocks-build-rust-mlua
luarocks pack luarocks-build-rust-mlua
- uses: actions/upload-artifact@v3
- name: Publish
run: "mv *.pack luarocks-build-rust-mlua-${{ matrix.os.host }}-x86_64.rock"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
name: output-${{ matrix.os.host }}.rock
path: "*.rock"
commit_message: "chore: update build artifacts"
file_pattern: '*.rock'
8 changes: 5 additions & 3 deletions .github/workflows/build-toml-edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
luarocks --local --lua-version=5.1 install luarocks-build-rust-mlua
luarocks --local --lua-version=5.1 install toml-edit
luarocks pack toml-edit
- uses: actions/upload-artifact@v3
- name: Publish
run: "mv *.pack toml-edit-${{ matrix.os.host }}-x86_64.rock"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
name: output-${{ matrix.os.host }}.rock
path: "*.rock"
commit_message: "chore: update build artifacts"
file_pattern: '*.rock'
8 changes: 5 additions & 3 deletions .github/workflows/build-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: |
luarocks --local --lua-version=5.1 install toml
luarocks pack toml
- uses: actions/upload-artifact@v3
- name: Publish
run: "mv *.pack toml-${{ matrix.os.host }}-x86_64.rock"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
name: output-${{ matrix.os.host }}.rock
path: "*.rock"
commit_message: "chore: update build artifacts"
file_pattern: '*.rock'

0 comments on commit 178b4fc

Please sign in to comment.