Skip to content

Commit

Permalink
Fixes TagBot.yml with new GitHub dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cadojo committed Jan 6, 2025
1 parent 34cd449 commit 1439f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ExperimentalTagBot; ExperimentalTagBot.create_releases(replace(ENV["PACKAGE"], ".jl"=>""); auth = auth)'

0 comments on commit 1439f41

Please sign in to comment.