-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from qt-creator/test-install-qtc
Add full workflow
- Loading branch information
Showing
6 changed files
with
70 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
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: qt-creator/[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 }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.qm |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Vale Language Server | ||
|
||
A plugin that integrates the Vale Language server with Qt Creator. |
This file contains 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