Update maven.yml
This commit is contained in:
parent
37f6db6074
commit
6d859bee36
1 changed files with 9 additions and 7 deletions
16
.github/workflows/maven.yml
vendored
16
.github/workflows/maven.yml
vendored
|
@ -29,13 +29,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: build_test
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: packaged-jar
|
||||
path: staging
|
||||
- name: Extract artifact
|
||||
run: unzip target/packaged-jar -d extracted-artifact
|
||||
- name: Download artifact
|
||||
run: |
|
||||
URL="https://github.com/potzplitz/ExtremeDemonList/actions/runs/${{ github.run_id }}/artifacts/${{ job.outputs.artifact_id }}"
|
||||
echo "::set-output name=download_url::$URL"
|
||||
id: get_artifact_url
|
||||
- name: Download and extract artifact
|
||||
run: |
|
||||
wget -O artifact.zip ${{ steps.get_artifact_url.outputs.download_url }}
|
||||
unzip artifact.zip -d extracted-artifact
|
||||
|
||||
# Rename the directory to include the run ID
|
||||
- name: Get current timestamp
|
||||
|
|
Loading…
Reference in a new issue