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