Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-talks committed Jul 2, 2024
1 parent dcb7f8f commit bc05db4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/discourse-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,5 @@ on:
workflow_dispatch:

jobs:
prepare-deprecation-ids-file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create empty deprecation-ids.yml if it doesn't exist
run: touch lib/deprecation_collector/deprecation-ids.yml
# - name: Upload deprecation-ids.yml
# uses: actions/upload-artifact@v4
# with:
# name: deprecation-ids
# path: lib/deprecation_collector/deprecation-ids.yml
ci:
needs: prepare-deprecation-ids-file
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
2 changes: 1 addition & 1 deletion lib/deprecation_collector/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "yaml"
module DeprecationCollector
DEPRECATION_IDS_FILE = "lib/deprecation_collector/deprecation-ids.yml"
DEPRECATION_IDS_FILE = File.expand("./deprecation-ids.yml", __FILE__)

deprecations = YAML.load_file(DEPRECATION_IDS_FILE)
List =
Expand Down

0 comments on commit bc05db4

Please sign in to comment.