diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a20a148..cdb437d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: publish: needs: test runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') + # if: startsWith(github.ref, 'refs/tags/') permissions: contents: write @@ -94,10 +94,13 @@ jobs: - name: Install Snapcraft run: | sudo apt-get --quiet update - sudo apt-get --no-install-suggests --no-install-recommends --quiet --yes install musl-tools snapcraft - sudo snap refresh snapcraft --revision 11040 + sudo apt-get --no-install-suggests --no-install-recommends --quiet --yes install musl-tools snapd + sudo snap install snapcraft --classic + snapcraft status vulnapi mkdir -p $HOME/.cache/snapcraft/download mkdir -p $HOME/.cache/snapcraft/stage-packages + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} - name: install chocolatey run: | @@ -110,12 +113,12 @@ jobs: env: CHOCOLATEY_VERSION: 2.2.2 - - uses: goreleaser/goreleaser-action@v6 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.PAT }} - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} - CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }} + # - uses: goreleaser/goreleaser-action@v6 + # with: + # distribution: goreleaser + # version: latest + # args: release --clean + # env: + # GITHUB_TOKEN: ${{ secrets.PAT }} + # SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} + # CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}