diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3947d5e..a20307e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,22 +173,21 @@ jobs: tar cjf tiles-${{ matrix.config.artifact }}.tar.bz2 tiles - name: Upload Distribution - if: matrix.config.artifact uses: actions/upload-artifact@v4 with: - name: tiles-${{ matrix.config.artifact }} - path: tiles-${{ matrix.config.artifact }}.tar.bz2 + name: tiles-${{ matrix.config.preset }} + path: tiles-${{ matrix.config.preset }}.tar.bz2 # ==== RELEASE ==== - name: Upload Release - if: github.event.action == 'published' && matrix.config.artifact + if: github.event.action == 'published' uses: actions/upload-release-asset@v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ./tiles-${{ matrix.config.artifact }}.tar.bz2 - asset_name: tiles-${{ matrix.config.artifact }}.tar.bz2 + asset_path: ./tiles-${{ matrix.config.preset }}.tar.bz2 + asset_name: tiles-${{ matrix.config.preset }}.tar.bz2 asset_content_type: application/x-tar # ==== SAVE CACHE ====