Delete main.yml
This commit is contained in:
parent
d72ff3a2a3
commit
1da2b0927a
1 changed files with 0 additions and 33 deletions
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
|
@ -1,33 +0,0 @@
|
||||||
# This will build the BCV repo and upload the package as an artifact
|
|
||||||
|
|
||||||
name: Build BCV
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up JDK 8
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
java-version: '8'
|
|
||||||
distribution: 'adopt'
|
|
||||||
- name: Build with Maven
|
|
||||||
run: mvn -B package --file pom.xml
|
|
||||||
- name: Extract Maven project version
|
|
||||||
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
|
||||||
id: project
|
|
||||||
- name: 'Upload Artifact'
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT
|
|
||||||
path: target/Bytecode-Viewer-${{ steps.project.outputs.version }}.jar
|
|
||||||
retention-days: 90
|
|
Loading…
Reference in a new issue