on: pull_request: types: [closed] push: jobs: publish: runs-on: docker steps: - run: apt-get update && apt-get install -y make - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: "1.21" - run: make build_password - name: test secrets run: echo "${LOGIN}"" && bash ./scripts/publish_packages.sh "./bin" env: LOGIN: ${{ forge.ACTOR }} PASSWORD: ${{ secrets.PACKAGE }} - run: make publish_password env: VER: latest