Skip to content

Commit

Permalink
fix: deprecated workflows tools
Browse files Browse the repository at this point in the history
  • Loading branch information
andreeaneata committed Jul 8, 2024
1 parent 3339095 commit f96cf0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: 15
node-version: 18

- name: Install Snyk with npm
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Build binaries
uses: goreleaser/goreleaser-action@v2
with:
args: --snapshot --rm-dist
args: --snapshot --clean

- name: Test Dockerfile
run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
goreleaser check

FLAGS=""
FLAGS+="--rm-dist "
FLAGS+="--clean "

# Only CI system should publish artifacts
if [ "$CI" != true ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ goreleaser check
# Override tag for GoReleaser so it uses the one provided in the flag
export GORELEASER_CURRENT_TAG="${TAG}"

CMD="goreleaser build --snapshot --rm-dist"
CMD="goreleaser build --snapshot --clean"

echo "+ Using goreleaser"
echo "+ CMD=${CMD}"
Expand Down

0 comments on commit f96cf0c

Please sign in to comment.