Skip to content

Commit

Permalink
[Dependencies] - Update .github/workflows/build-and-publish-release.y…
Browse files Browse the repository at this point in the history
…ml to match the template repo
  • Loading branch information
credfeto committed Apr 17, 2023
1 parent fba2dc3 commit 0edac69
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build-and-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,9 @@ jobs:

runs-on: ubuntu-latest

env:
TEMP_WORK_DIR: ${{github.workspace}}/.tmp

steps:
- name: Initialise Workspace
run: |
echo "Setting owner of $GITHUB_WORKSPACE to $USER"
sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
[[ ! -d "${{env.TEMP_WORK_DIR}}" ]] && mkdir -p "${{env.TEMP_WORK_DIR}}"
sudo chown -R "$USER:$USER" "${{env.TEMP_WORK_DIR}}"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

- uses: actions/checkout@v3
with:
Expand All @@ -52,7 +45,6 @@ jobs:
OCTOPUS_API_KEY: ${{secrets.OCTOPUS_API_KEY}}
OCTOPUS_DEPLOY_PACKAGE: ${{vars.OCTOPUS_DEPLOY_PACKAGE}}
OCTOPUS_DEPLOY_PACKAGE_ZIP: ${{vars.OCTOPUS_DEPLOY_PACKAGE_ZIP}}
TEMP_WORK_DIR: ${{env.TEMP_WORK_DIR}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
CREATE_RELEASE: true

0 comments on commit 0edac69

Please sign in to comment.