Skip to content

Maddimax is building the plugin #10

Maddimax is building the plugin

Maddimax is building the plugin #10

Workflow file for this run

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
- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: ValeLS
path: |
./ValeLS*
!./ValeLS/**/*.ts
Release:
needs: Build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: ValeLS
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'ValeLS.zip'
# Make a release
- name: Create Release
uses: softprops/action-gh-release@v2
id: create_release
with:
token: ${{ secrets.RELEASE_TOKEN }}
files: ValeLS.zip
- name: Release on Extension Store
uses: Maddimax/[email protected]
with:
api: ${{ secrets.EXTENSION_STORE_API_URL }}
token: ${{ secrets.EXTENSION_STORE_API_TOKEN }}
spec: ValeLS/valels.lua
publish: true
download-url: ${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}