ci changes
This commit is contained in:
parent
48d30307b8
commit
d3ec41e408
1 changed files with 21 additions and 18 deletions
39
.github/workflows/jetbrains-release.yaml
vendored
39
.github/workflows/jetbrains-release.yaml
vendored
|
|
@ -5,8 +5,11 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [prereleased]
|
||||
push:
|
||||
branches:
|
||||
- nate/apple-developer-finally
|
||||
# release:
|
||||
# types: [prereleased]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -17,23 +20,23 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check_release_name:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_run: ${{ steps.check.outputs.should_run }}
|
||||
steps:
|
||||
- id: check
|
||||
working-directory: .
|
||||
run: |
|
||||
if [[ "${{ github.event.release.tag_name }}" == v0.0.*-jetbrains ]]; then
|
||||
echo "should_run=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "should_run=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
# check_release_name:
|
||||
# runs-on: ubuntu-latest
|
||||
# outputs:
|
||||
# should_run: ${{ steps.check.outputs.should_run }}
|
||||
# steps:
|
||||
# - id: check
|
||||
# working-directory: .
|
||||
# run: |
|
||||
# if [[ "${{ github.event.release.tag_name }}" == v0.0.*-jetbrains ]]; then
|
||||
# echo "should_run=true" >> $GITHUB_OUTPUT
|
||||
# else
|
||||
# echo "should_run=false" >> $GITHUB_OUTPUT
|
||||
# fi
|
||||
|
||||
# Prepare and publish the plugin to JetBrains Marketplace repository
|
||||
build:
|
||||
needs: check_release_name
|
||||
# needs: check_release_name
|
||||
if: needs.check_release_name.outputs.should_run == 'true'
|
||||
name: Build Plugin
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -44,8 +47,8 @@ jobs:
|
|||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.release.tag_name }}
|
||||
# with:
|
||||
# ref: ${{ github.event.release.tag_name }}
|
||||
|
||||
# Validate wrapper
|
||||
- name: Gradle Wrapper Validation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue