Skip to content

Commit

Permalink
Upload artifacts in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Oct 26, 2023
1 parent 3d38350 commit 041f000
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-jlink-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ jobs:
arguments: build asciidoc --scan
- name: Run publish if necessary
if: runner.os == 'Linux' && github.ref == 'refs/heads/master' && github.event_name == 'push'
env: # Or as an environment variable
env:
GRGIT_USER: ${{ secrets.GRGIT_USER }}
run: chmod +x publish.sh && ./publish.sh
- uses: actions/upload-artifact@v3
if: runner.os == 'Linux'
with:
path: build/libs/*
release:
name: Publish to the Gradle Plugin Portal
runs-on: ubuntu-latest
Expand Down

0 comments on commit 041f000

Please sign in to comment.