Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor issues in daily build and verification workflows #74

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,15 @@ jobs:
- name: Create Plugin Zip
run: ./gradlew buildPlugin

- name: Get version and timestamp
run: |
VERSION=$((grep -w 'pluginVersion' | cut -d= -f2) < gradle.properties | rev | cut -d- -f2 | rev)
TIMESTAMP=$(date +%Y%m%d%H%M%S)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "TIMESTAMP=$TIMESTAMP" >> $GITHUB_ENV

- name: Archive Plugin Zip
uses: actions/upload-artifact@v3
with:
name: plugin-distribution
name: ballerina-swanlake-intellij-plugin-${{ env.VERSION }}-${{ env.TIMESTAMP }}
path: build/distributions/*.zip
2 changes: 1 addition & 1 deletion .github/workflows/verification-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
idea-version: [ ${ { needs.read-versions.outputs.min-idea-version } }, ${ { needs.read-versions.outputs.max-idea-version } } ]
idea-version: [${{ needs.read-versions.outputs.min-idea-version }}, ${{ needs.read-versions.outputs.max-idea-version }}]

concurrency:
group: ${{ github.head_ref }}-ubuntu-verify
Expand Down
Loading