kopia lustrzana https://github.com/jameshball/osci-render
Remove mac workflow and add linux workflow
rodzic
6ef3f2f6db
commit
cc6398dc5e
|
@ -35,9 +35,9 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: jameshball/osci-render
|
||||
|
||||
release-mac:
|
||||
release-debian:
|
||||
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -49,14 +49,14 @@ jobs:
|
|||
- name: Build with Maven
|
||||
run: |
|
||||
mvn -B package
|
||||
mvn -B jpackage:jpackage@mac
|
||||
mvn -B jpackage:jpackage@debian
|
||||
version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ env.VERSION }}
|
||||
files: target/osci-render-${{ env.VERSION }}.dmg
|
||||
files: target/osci-render-${{ env.VERSION }}.deb
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: jameshball/osci-render
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -133,9 +133,9 @@
|
|||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>mac</id>
|
||||
<id>debian</id>
|
||||
<configuration>
|
||||
<icon>src/main/resources/icons/icon.icns</icon>
|
||||
<type>deb</type>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
|
Ładowanie…
Reference in New Issue