mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-06-08 20:03:52 +02:00
remove set-env variable in github action Close #38
This commit is contained in:
@@ -40,9 +40,12 @@ jobs:
|
|||||||
- if: matrix.os == 'ubuntu-latest'
|
- if: matrix.os == 'ubuntu-latest'
|
||||||
run: sudo apt-get update && sudo apt-get install -y gcc-multilib
|
run: sudo apt-get update && sudo apt-get install -y gcc-multilib
|
||||||
- if: matrix.arch == '386'
|
- if: matrix.arch == '386'
|
||||||
run: echo "::set-env name=RELEASE::hack-browser-data-${{ github.event.release.tag_name }}-${{ matrix.releaseos}}-32bit"
|
run: echo "RELEASE=hack-browser-data-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-32bit" >> $GITHUB_ENV
|
||||||
- if: matrix.arch == 'amd64'
|
- if: matrix.arch == 'amd64'
|
||||||
run: echo "::set-env name=RELEASE::hack-browser-data-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-64bit"
|
run: echo "RELEASE=hack-browser-data-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-64bit" >> $GITHUB_ENV
|
||||||
|
- if: matrix.os == 'windows-latest'
|
||||||
|
shell: powershell
|
||||||
|
run: echo "RELEASE=hack-browser-data-${{ github.event.release.tag_name}}-${{ matrix.releaseos}}-64bit" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build ${{ matrix.goos }}/${{ matrix.arch }}
|
- name: Build ${{ matrix.goos }}/${{ matrix.arch }}
|
||||||
run: go build -ldflags '-w -s' -o ${{ matrix.bin }}
|
run: go build -ldflags '-w -s' -o ${{ matrix.bin }}
|
||||||
|
|||||||
Reference in New Issue
Block a user