Skip to content

Commit

Permalink
Cleanup release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkaplan13 committed Jul 5, 2024
1 parent 5115e9f commit f81deab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
path: awm-relayer
submodules: recursive

# The GO_VERSION must be set explicitly to be used by GoReleaser and in the Dockerfile.
# The GO_VERSION must be set explicitly to be used in the Dockerfile.
- name: Set Go version
run: |
source ./awm-relayer/scripts/versions.sh
source ./scripts/versions.sh
echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV
- name: Set up Go
Expand Down Expand Up @@ -71,8 +69,6 @@ jobs:
distribution: goreleaser
version: latest
args: release --clean
workdir: ./awm-relayer/
env:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GO_VERSION: ${{ env.GO_VERSION }}
1 change: 0 additions & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: awm-relayer
submodules: recursive

- name: Run Snyk
Expand Down

0 comments on commit f81deab

Please sign in to comment.