Merge branch 'master' into dev

pull/125/head
ᴍᴏᴏɴD4ʀᴋ 3 years ago
commit 48632d91d9
  1. 4
      .github/workflows/ci.yml
  2. 17
      .github/workflows/release.yml
  3. 10
      CONTRIBUTORS.svg

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
goVer: [1.14, 1.15] goVer: [1.18]
steps: steps:
- name: Set up Go ${{ matrix.goVer }} - name: Set up Go ${{ matrix.goVer }}
@ -23,7 +23,7 @@ jobs:
go get -v -t -d ./... go get -v -t -d ./...
go get gopkg.in/check.v1 go get gopkg.in/check.v1
- name: Build - name: Build
run: go build -v . run: go build -v ./...
- name: Format - name: Format
run: diff -u <(echo -n) <(gofmt -d .) run: diff -u <(echo -n) <(gofmt -d .)

@ -15,7 +15,7 @@ jobs:
- name: Use Golang - name: Use Golang
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: "1.17.2" go-version: "1.18"
- -
name: Build with xgo name: Build with xgo
@ -25,6 +25,7 @@ jobs:
go_version: ${{ matrix.go_version }} go_version: ${{ matrix.go_version }}
dest: build dest: build
prefix: hack-browser-data prefix: hack-browser-data
pkg: cmd/hack-browser-data
targets: windows/amd64,windows/386,linux/386,linux/amd64,linux/arm,linux/arm64,darwin/amd64 targets: windows/amd64,windows/386,linux/386,linux/amd64,linux/arm,linux/arm64,darwin/amd64
# targets: windows/amd64,windows/386,darwin/amd64,linux/arm # targets: windows/amd64,windows/386,darwin/amd64,linux/arm
v: true v: true
@ -35,13 +36,13 @@ jobs:
- name: Set Variable - name: Set Variable
run: | run: |
echo "RELEASE_WIN32=hack-browser-data-${{ github.event.release.tag_name}}-windows-32bit" >> $GITHUB_ENV echo "RELEASE_WIN32=hack-browser-data-${{ github.event.release.tag_name}}windows-32bit" >> $GITHUB_ENV
echo "RELEASE_WIN64=hack-browser-data-${{ github.event.release.tag_name}}-windows-64bit" >> $GITHUB_ENV echo "RELEASE_WIN64=hack-browser-data-${{ github.event.release.tag_name}}windows-64bit" >> $GITHUB_ENV
echo "RELEASE_OSX=hack-browser-data-${{ github.event.release.tag_name}}-osx-64bit" >> $GITHUB_ENV echo "RELEASE_OSX=hack-browser-data-${{ github.event.release.tag_name}}osx-64bit" >> $GITHUB_ENV
echo "RELEASE_LinuxARM=hack-browser-data-${{ github.event.release.tag_name}}-linux-arm" >> $GITHUB_ENV echo "RELEASE_LinuxARM=hack-browser-data-${{ github.event.release.tag_name}}linux-arm" >> $GITHUB_ENV
echo "RELEASE_Linux386=hack-browser-data-${{ github.event.release.tag_name}}-linux-386" >> $GITHUB_ENV echo "RELEASE_Linux386=hack-browser-data-${{ github.event.release.tag_name}}linux-386" >> $GITHUB_ENV
echo "RELEASE_LinuxARM64=hack-browser-data-${{ github.event.release.tag_name}}-linux-arm64" >> $GITHUB_ENV echo "RELEASE_LinuxARM64=hack-browser-data-${{ github.event.release.tag_name}}linux-arm64" >> $GITHUB_ENV
echo "RELEASE_LinuxAMD64=hack-browser-data-${{ github.event.release.tag_name}}-linux-amd64" >> $GITHUB_ENV echo "RELEASE_LinuxAMD64=hack-browser-data-${{ github.event.release.tag_name}}linux-amd64" >> $GITHUB_ENV
- name: Build zip - name: Build zip
run: | run: |
mv build/hack-browser-data-windows*386.exe "$RELEASE_WIN32".exe mv build/hack-browser-data-windows*386.exe "$RELEASE_WIN32".exe

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Loading…
Cancel
Save