Skip to content

Commit

Permalink
Merge pull request #6 from testit-tms/feature/TMS-29071-actions
Browse files Browse the repository at this point in the history
feat: TMS-29071: update actions
  • Loading branch information
taipoxinous authored Nov 20, 2024
2 parents 8ee5e2f + 6aa7183 commit 77aac58
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ jobs:
- name: Build Plugin for PyCharm
run: |
./gradlew buildPlugin -PisPyCharm=true --no-build-cache --no-configuration-cache
cd build/distributions
for f in testit_management-*.zip; do mv "$f" "${f/testit_management-/testit_management_PyCharm-}"; done
# Build plugin for IDEA
- name: Build Plugin for IDEA
run: |
./gradlew buildPlugin -PisIDEA=true --no-build-cache --no-configuration-cache
cd build/distributions
for f in testit_management-*.zip; do mv "$f" "${f/testit_management-/testit_management_IDEA-}"; done
- name: Upload Release Asset
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,40 @@ jobs:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests

pre-release-check:
name: Pre Release Check
needs: [ build ]
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v4

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

# Build plugin for PyCharm
- name: Build Plugin for PyCharm
run: |
./gradlew buildPlugin -PisPyCharm=true --no-build-cache --no-configuration-cache
cd build/distributions
for f in testit_management-*.zip; do mv "$f" "${f/testit_management-/testit_management_PyCharm-}"; done
# Build plugin for IDEA
- name: Build Plugin for IDEA
run: |
./gradlew buildPlugin -PisIDEA=true --no-build-cache --no-configuration-cache
cd build/distributions
for f in testit_management-*.zip; do mv "$f" "${f/testit_management-/testit_management_IDEA-}"; done
# Run plugin structure verification along with IntelliJ Plugin Verifier
verify:
name: Verify plugin
Expand Down

0 comments on commit 77aac58

Please sign in to comment.