From 4f6dc09c96349bd9e3fb71e61b945a76c764b011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=B6hn?= Date: Mon, 27 Jan 2025 22:58:45 +0100 Subject: [PATCH] Update download_artifacts.yml --- .github/workflows/download_artifacts.yml | 33 +++++++++++++++++------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/.github/workflows/download_artifacts.yml b/.github/workflows/download_artifacts.yml index af77506..55c5295 100644 --- a/.github/workflows/download_artifacts.yml +++ b/.github/workflows/download_artifacts.yml @@ -1,14 +1,27 @@ +name: Download Artifacts + on: push: branches: - main -name: get artifacts - # You may pin to the exact commit or the version. - # uses: MichaelMelena/list-artifacts@a1757aa2b864e29ea9f042f3ca8b4ac17fdd508b - uses: MichaelMelena/list-artifacts@v1.0.1 - with: - # github access token - GITHUB_TOKEN: # optional, default is ${{ github.token }} - # - repository: # optional, default is ${{ github.repository }} - + +jobs: + download-artifacts: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: List artifacts + id: list-artifacts + uses: MichaelMelena/list-artifacts@v1.0.1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repository: ${{ github.repository }} + + - name: Download artifacts + uses: actions/download-artifact@v2 + with: + name: wetter2.zip + path: ./artifacts