Skip to content

Commit

Permalink
Test cd
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaos committed Aug 19, 2024
1 parent f172a2f commit 37f569b
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: CD # Continuous Deployment

on:
push:
tags:
- '[v]?[0-9]+.[0-9]+.[0-9]+'
- '[v]?[0-9]+.[0-9]+.[0-9]+-[a-z]+.[0-9]+'
branches:
- test-cd

jobs:
publish:
Expand Down Expand Up @@ -112,7 +111,7 @@ jobs:
########## create tar.gz ##########
RELEASE_NAME=${{ matrix.binary-name }}-${GITHUB_REF/refs\/tags\//}-${{ matrix.os-name }}-${{ matrix.architecture }}
RELEASE_NAME=${{ matrix.binary-name }}-test-${{ matrix.os-name }}-${{ matrix.architecture }}
tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME
Expand All @@ -124,16 +123,15 @@ jobs:
else
shasum -a 256 $RELEASE_NAME.tar.gz > $RELEASE_NAME.sha256
fi
- name: Releasing assets
uses: softprops/action-gh-release@v1
with:
files: |
target/${{ matrix.target }}/release/${{ matrix.binary-name }}-*.tar.gz
target/${{ matrix.target }}/release/${{ matrix.binary-name }}-*.sha256
# - name: Releasing assets
# uses: softprops/action-gh-release@v1
# with:
# files: |

env:
# target/${{ matrix.target }}/release/${{ matrix.binary-name }}-*.tar.gz
# target/${{ matrix.target }}/release/${{ matrix.binary-name }}-*.sha256

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# env:

# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 37f569b

Please sign in to comment.