|
@ -12,7 +12,7 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
|
|
|
- name: Delete old release assets |
|
|
- name: Delete old release assets |
|
|
uses: mknejp/delete-release-assets@v1 |
|
|
|
|
|
|
|
|
uses: mknejp/delete-release-assets@a8aaab13272b1eaac16cc46dddd3f725b97ee05a # v1 |
|
|
with: |
|
|
with: |
|
|
token: ${{ github.token }} |
|
|
token: ${{ github.token }} |
|
|
tag: dev |
|
|
tag: dev |
|
@ -31,13 +31,13 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
|
|
|
- name: Check out code into the Go module directory |
|
|
- name: Check out code into the Go module directory |
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 |
|
|
|
|
|
|
|
|
- name: Set BUILD_TIME env |
|
|
- name: Set BUILD_TIME env |
|
|
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} |
|
|
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} |
|
|
|
|
|
|
|
|
- name: Go Release Binaries Large Disk |
|
|
- name: Go Release Binaries Large Disk |
|
|
uses: wangyoucao577/go-release-action@v1.22 |
|
|
|
|
|
|
|
|
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 |
|
|
with: |
|
|
with: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
goos: ${{ matrix.goos }} |
|
|
goos: ${{ matrix.goos }} |
|
@ -53,7 +53,7 @@ jobs: |
|
|
asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
|
|
|
|
|
|
- name: Go Release Binaries Normal Volume Size |
|
|
- name: Go Release Binaries Normal Volume Size |
|
|
uses: wangyoucao577/go-release-action@v1.22 |
|
|
|
|
|
|
|
|
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 |
|
|
with: |
|
|
with: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
goos: ${{ matrix.goos }} |
|
|
goos: ${{ matrix.goos }} |
|
@ -78,13 +78,13 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
|
|
|
- name: Check out code into the Go module directory |
|
|
- name: Check out code into the Go module directory |
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 |
|
|
|
|
|
|
|
|
- name: Set BUILD_TIME env |
|
|
- name: Set BUILD_TIME env |
|
|
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} |
|
|
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} |
|
|
|
|
|
|
|
|
- name: Go Release Binaries Large Disk |
|
|
- name: Go Release Binaries Large Disk |
|
|
uses: wangyoucao577/go-release-action@v1.22 |
|
|
|
|
|
|
|
|
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 |
|
|
with: |
|
|
with: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
goos: ${{ matrix.goos }} |
|
|
goos: ${{ matrix.goos }} |
|
@ -100,7 +100,7 @@ jobs: |
|
|
asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
|
|
|
|
|
|
- name: Go Release Binaries Normal Volume Size |
|
|
- name: Go Release Binaries Normal Volume Size |
|
|
uses: wangyoucao577/go-release-action@v1.22 |
|
|
|
|
|
|
|
|
uses: wangyoucao577/go-release-action@16624612d4e2b73de613857a362d294700207fff # v1.22 |
|
|
with: |
|
|
with: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
goos: ${{ matrix.goos }} |
|
|
goos: ${{ matrix.goos }} |
|
|