Skip to content

Commit

Permalink
trasform project name
Browse files Browse the repository at this point in the history
  • Loading branch information
heliannuuthus committed Oct 29, 2023
1 parent 11af563 commit e15dd25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/call-golang-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
name: environments
run: |
echo "
project=${{ github.repository }}
project=$(go list -m)
version=$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null)
project=${project##*/}
version=${version:-v0.0.1}
" >> "$GITHUB_OUTPUT"
- name: upload target
Expand Down
2 changes: 1 addition & 1 deletion tests/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/heliannuuthus/workflow
module github.com/heliannuuthus/golang

go 1.20

Expand Down

0 comments on commit e15dd25

Please sign in to comment.