Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Aug 26, 2024
1 parent dce8d79 commit 9dc92a3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ jobs:
run: |
go test ./...
# - name: Integration Test
# run: bash integration_test/test.sh
- name: Integration Test
run: bash integration_test/test.sh

- run: |
echo "VERSION=${{ github.ref_name || github.event.inputs.ref_name }}" >> $GITHUB_ENV
echo "VERSION=${{ (github.ref_name == 'master' && github.event_name == 'workflow_dispatch') && github.event.inputs.ref_name || github.ref_name }}" >> $GITHUB_ENV
- name: Upload release
if: github.event_name != 'pull_request'
uses: boxpositron/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -52,21 +51,19 @@ jobs:
stenographer
stenoread
tag_name: ${{ env.VERSION }}
release_name: stenographer_${{ env.VERSION }}
release_name: ${{ env.VERSION }}
draft: false
prerelease: false
overwrite: true

- name: Log in to the Container registry
if: false
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker Build and push (server)
if: false
uses: docker/[email protected]
with:
context: ./docker
Expand Down

0 comments on commit 9dc92a3

Please sign in to comment.