Skip to content

Commit

Permalink
First major release test (#4)
Browse files Browse the repository at this point in the history
* First major release test

* First major release test

* First major release test
  • Loading branch information
ugur93 authored Jan 10, 2024
1 parent aa49b42 commit 5769e5e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Resolve/Update Dependencies
run: mvn package dependency:resolve-plugins dependency:go-offline
- name: Build (and run tests)
run: mvn clean install
- name: Deploy to Github Package
run: |
echo "Release package ${{inputs.package-name}} with version ${{ env.VERSION }}"
Expand Down
25 changes: 24 additions & 1 deletion .github/workflows/release-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,33 @@ on:
types: [opened, reopened, synchronize]

permissions:
contents: read
contents: write

jobs:
build-artifact:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
java-version: 21
distribution: 'temurin'
cache: 'maven'

- name: Resolve/Update Dependencies
run: mvn package dependency:resolve-plugins dependency:go-offline

- name: Build (and run tests)
run: mvn clean install

- name: Save test results
run: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
update_release_draft:
needs: build-artifact
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit 5769e5e

Please sign in to comment.