Skip to content

Commit

Permalink
mac os: create artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Apr 4, 2024
1 parent 0c25d97 commit 45cfd78
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 ====
Expand Down

0 comments on commit 45cfd78

Please sign in to comment.