Skip to content

Commit

Permalink
#49 fixed - email subject header - see IQSS/IQSS#9173
Browse files Browse the repository at this point in the history
  • Loading branch information
haarli committed Mar 30, 2023
1 parent b0aa1ae commit acbc917
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/mpdl-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: MPDL Release

on:
push:
tags:
- 'v*-mpdl*'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: target/*.war
asset_name: dataverse-${{ github.ref_name }}.war
asset_content_type: application/java-archive

0 comments on commit acbc917

Please sign in to comment.