■ ■ ■ ■ ■ ■
.github/workflows/release.yml
| skipped 41 lines |
42 | 42 | | - if: matrix.os == 'ubuntu-latest' |
43 | 43 | | run: sudo apt-get update && sudo apt-get install -y gcc-multilib |
44 | 44 | | - if: matrix.arch == '386' |
45 | | - | run: echo "::set-env name=RELEASE::gophish-${{ github.event.release.tag_name }}-${{ matrix.releaseos}}-32bit" |
| 45 | + | run: echo "RELEASE=gophish-${{ github.event.release.tag_name }}-${{ matrix.releaseos }}-32bit" >> $GITHUB_ENV |
46 | 46 | | - if: matrix.arch == 'amd64' |
47 | | - | run: echo "::set-env name=RELEASE::gophish-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-64bit" |
| 47 | + | run: echo "RELEASE=gophish-${{ github.event.release.tag_name }}-${{ matrix.releaseos }}-64bit" >> $GITHUB_ENV |
| 48 | + | - if: matrix.os == 'windows-latest' |
| 49 | + | run: echo "RELEASE=gophish-${{ github.event.release.tag_name }}-${{ matrix.releaseos }}-64bit" | Out-File -FilePath $env:GITHUB_ENV -Append # https://github.com/actions/runner/issues/1636 |
48 | 50 | | - uses: actions/checkout@v2 |
49 | 51 | | - name: Build ${{ matrix.goos }}/${{ matrix.arch }} |
50 | 52 | | run: go build -o ${{ matrix.bin }} |
| skipped 102 lines |