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)'