Update maven.yml

This commit is contained in:
potzplitz 2024-03-03 14:07:51 +01:00 committed by GitHub
parent 37f6db6074
commit 6d859bee36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,13 +29,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_test needs: build_test
steps: steps:
- uses: actions/checkout@v3 - name: Download artifact
- uses: actions/download-artifact@v3 run: |
with: URL="https://github.com/potzplitz/ExtremeDemonList/actions/runs/${{ github.run_id }}/artifacts/${{ job.outputs.artifact_id }}"
name: packaged-jar echo "::set-output name=download_url::$URL"
path: staging id: get_artifact_url
- name: Extract artifact - name: Download and extract artifact
run: unzip target/packaged-jar -d extracted-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 # Rename the directory to include the run ID
- name: Get current timestamp - name: Get current timestamp