Skip to content

Commit

Permalink
chore: test the tags retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
64J0 committed Jun 15, 2024
1 parent b7be04b commit 7c92b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/fsharp-custom-action/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Requirements:
#
# - bash
# - git
# - dotnet
# - yq

Expand All @@ -17,15 +16,14 @@ cd "${REPO_PATH}"

ls -la

# fatal: detected dubious ownership in repository at '/github/workspace'
git config --global --add safe.directory /github/workspace
git tag --sort -creatordate
GIT_TAGS=$(git tag --sort -creatordate)

echo "[+] GIT_TAGS: ${GIT_TAGS}"

# dotnet run --project . "${GIT_TAGS}"
/proj/Main "${GIT_TAGS}"

yq -i '. * load("src/workflow.new.yml")' "${REPO_PATH}.github/workflows/${WORKFLOW_FILE_NAME}"
yq -y -i '. * load("src/workflow.new.yml")' "${REPO_PATH}.github/workflows/${WORKFLOW_FILE_NAME}"

echo "[+] Script done!"
1 change: 0 additions & 1 deletion .github/workflows/on-tag-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: actions/checkout@v4
with:
path: tagaction
fetch-tags: true
- name: Run custom action
uses: ./tagaction
with:
Expand Down

0 comments on commit 7c92b42

Please sign in to comment.