Skip to content

Commit

Permalink
fix: publish publishes hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
szattila98 committed Mar 27, 2024
1 parent f61569a commit d43043c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Publish

on:
push:
branches:
- main
tags:
- '*'
release:
types: [published]

env:
CARGO_TERM_COLOR: always
Expand All @@ -16,7 +13,6 @@ permissions:
jobs:
upload_license:
name: Upload License
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
Expand All @@ -28,7 +24,6 @@ jobs:

build:
name: Build - ${{ matrix.platform }}
if: ${{ github.ref_type == 'tag' }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
Expand Down Expand Up @@ -66,7 +61,6 @@ jobs:
needs: [build, upload_license]
name: Publish binaries
runs-on: ubuntu-20.04
if: ${{ github.ref_type == 'tag' }}
steps:
- uses: actions/download-artifact@v4

Expand Down

0 comments on commit d43043c

Please sign in to comment.