diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4a9a9c2..881b866 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -6,22 +6,22 @@ permissions: contents: read jobs: - prepare: - name: Prepare - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v6 - - name: Setup Go - uses: actions/setup-go@v6 - with: - go-version-file: 'go.mod' - check-latest: false - - name: Download modules - run: go mod download - - name: Make build directory - run: mkdir -p build && readlink -f build - +# prepare: +# name: Prepare +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v6 +# - name: Setup Go +# uses: actions/setup-go@v6 +# with: +# go-version-file: 'go.mod' +# check-latest: false +# - name: Download modules +# run: go mod download +# - name: Make build directory +# run: mkdir -p build && readlink -f build +# # test: # runs-on: ubuntu-latest # steps: @@ -30,7 +30,6 @@ jobs: # with: # go-version: ${{ matrix.go }} # version: v2.6 - build: name: Build runs-on: ubuntu-latest @@ -48,6 +47,17 @@ jobs: goarch: arm goarm: "7" steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Setup Go + uses: actions/setup-go@v6 + with: + go-version-file: 'go.mod' + check-latest: false + - name: Download modules + run: go mod download + - name: Make build directory + run: mkdir -p build && readlink -f build - name: Set target variables run: | echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV