mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
ci: fix build_test_release workflow
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Go Workfile
|
- name: Setup Go Workfile
|
||||||
run: go work init ./ci ./ && rm src_code/go_src/cmd/cmd_test.go
|
run: go work init ./ci ./
|
||||||
- run: cd ci && go get dagger.io/dagger@latest && cd ..
|
- run: cd ci && go get dagger.io/dagger@latest && cd ..
|
||||||
- run: mkdir ./dist
|
- run: mkdir ./dist
|
||||||
- run: go run ci/build_test_release.go
|
- run: go run ci/build_test_release.go
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: publish project
|
- name: publish project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cp ./src_code/go_src/author.txt ./dist
|
cp ./src/author.txt ./dist
|
||||||
|
|
||||||
tag=$(git describe --tags --abbrev=0)
|
tag=$(git describe --tags --abbrev=0)
|
||||||
#linux build
|
#linux build
|
||||||
@@ -59,4 +59,4 @@ jobs:
|
|||||||
body: ${{steps.changelog.outputs.changelog}}
|
body: ${{steps.changelog.outputs.changelog}}
|
||||||
files: "*.tar.gz"
|
files: "*.tar.gz"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user