diff --git a/.github/workflows/release_sda-admin.yaml b/.github/workflows/release_sda-admin.yaml index 6072b4840..fdb4736e9 100644 --- a/.github/workflows/release_sda-admin.yaml +++ b/.github/workflows/release_sda-admin.yaml @@ -5,7 +5,7 @@ on: pull_request: paths: - 'sda-admin/.version' - types: [ closed ] + # types: [ closed ] workflow_dispatch: jobs: @@ -75,6 +75,8 @@ jobs: tar -czf "$BINARY_NAME.tgz" "$BINARY_NAME" ../LICENSE - name: Upload artifact - run: gh release upload "sda-admin-${{ env.VERSION }}" "sda-admin/${{ env.BINARY_NAME.tgz }}" + run: | + cd sda-admin + gh release upload "sda-admin-${{ env.VERSION }}" ${{ env.BINARY_NAME.tgz }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file