From 3b4c811a57f4b5d2df6a25ab466fa500951d4b1f Mon Sep 17 00:00:00 2001 From: Joey Carpinelli Date: Sun, 5 Jan 2025 22:16:20 -0500 Subject: [PATCH] Fixes TagBot.yml with new GitHub dependency --- .github/workflows/TagBot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 85ad9c4..aff64bc 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -20,9 +20,9 @@ jobs: version: "1" - uses: julia-actions/cache@v2 - name: Install dependencies - run: julia -e 'using Pkg; Pkg.add(url="https://github.com/cadojo/ExperimentalTagBot.jl")' + run: julia -e 'using Pkg; Pkg.add(url="https://github.com/cadojo/ExperimentalTagBot.jl"); Pkg.add("GitHub"); Pkg.instantiate()' - name: Build and deploy env: DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key PACKAGE: ${{ github.event.repository.name }} - run: julia -e 'import GitHub as GH; auth = GH.authenticate(readchomp(`gh auth token`)); import ExperimentalTagBot; ExperimentalTagBot.create_releases(replace(ENV["PACKAGE"], ".jl"=>""); auth = auth)' + run: julia -e 'import GitHub as GH; auth = GH.authenticate("${{ secrets.GITHUB_TOKEN }}"); import TagBot; TagBot.create_releases(replace(ENV["PACKAGE"], ".jl"=>""); auth = auth)'