Skip to content

Maddimax is building the plugin #38

Maddimax is building the plugin

Maddimax is building the plugin #38

name: Build plugin
run-name: ${{ github.actor }} is building the plugin
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: ConorMacBride/install-package@v1
with:
apt: qttools5-dev-tools
- name: Build translations
working-directory: ValeLS/ts
run: lrelease *.ts
# Make a release
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
id: create_release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.RELEASE_TOKEN }}
files: |
ValeLS/init.lua
ValeLS/valels.lua
ValeLS/ts/*.qm
- name: Release on Extension Store
uses: Maddimax/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
api: ${{ secrets.EXTENSION_STORE_API_URL }}
token: ${{ secrets.EXTENSION_STORE_API_TOKEN }}
spec: ValeLS/valels.lua
download-url: ${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}