Skip to content

Commit

Permalink
Add some sort of temporar debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
seclerp committed Oct 9, 2022
1 parent 64efe7d commit 92a9a1e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches: [ release/* ]
workflow_dispatch:

permissions: read-all

jobs:
build-ubuntu:
runs-on: ubuntu-latest
Expand All @@ -16,7 +18,16 @@ jobs:
- name: 🛠 Prepare Build Environment
uses: ./.github/workflows/prepare-build-env

- name: 🔍 List files (debug)
id: list-files
run: |
FILES=$(cat ./build/.rdgen)
echo $FILES
FILES="${FILES//'%'/'%25'}"
FILES="${FILES//$'\n'/'%0A'}"
FILES="${FILES//$'\r'/'%0D'}"
echo "::set-output name=FILES_ALL::$FILES"
- name: 🏗 Build Plugin (Stable)
uses: gradle/gradle-build-action@v2
with:
arguments: buildPlugin
shell: bash
run: ./gradlew :buildPlugin
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:
echo "PLUGIN_VERSION=$(./gradlew properties | grep -oP '(?<=PluginVersion: ).*')" >> $GITHUB_ENV
- name: 🏗 Build Plugin
uses: gradle/gradle-build-action@v2
with:
arguments: buildPlugin
shell: bash
run: ./gradlew :buildPlugin

- name: 🏗 Get current changelog
id: changelog_step
Expand All @@ -53,6 +52,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: 🚀 Publish Plugin
uses: gradle/gradle-build-action@v2
with:
arguments: publishPlugin -PPublishToken=${{ secrets.JB_PUBLISH_TOKEN }} -PPublishChannel=${{ github.event.inputs.channel }}
shell: bash
run: ./gradlew :publishPlugin -PPublishToken=${{ secrets.JB_PUBLISH_TOKEN }} -PPublishChannel=${{ github.event.inputs.channel }}
12 changes: 2 additions & 10 deletions .github/workflows/prepare-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,5 @@ runs:
dotnet-version: '6.0.301'

- name: 🏗 Generate RD protocol data
uses: gradle/gradle-build-action@v2
with:
cache-disabled: true
arguments: rdgen

- name: 🏗 Prepare dependencies
uses: gradle/gradle-build-action@v2
with:
cache-disabled: true
arguments: setupDependencies
shell: bash
run: ./gradlew :rdgen

0 comments on commit 92a9a1e

Please sign in to comment.