diff --git a/.github/workflows/test-plugin-example.yml b/.github/workflows/test-plugin-example.yml deleted file mode 100644 index 40993828..00000000 --- a/.github/workflows/test-plugin-example.yml +++ /dev/null @@ -1,48 +0,0 @@ -# This is a manually triggered action workflow. -# It uses Packer at latest version to init, validate and build -# an example configuration in a folder. -# This action is compatible with Packer v1.7.0 or later. -name: test plugin example - -on: - workflow_dispatch: - inputs: - logs: - description: 'Set 1 to activate full logs' - required: false - default: '0' - folder: - description: 'Example folder' - required: false - default: './example' - -jobs: - build: - runs-on: ubuntu-latest - name: init and build example - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Init - uses: hashicorp/packer-github-actions@master - with: - working_directory: ${{ github.event.inputs.folder }} - command: init - - - name: Validate - uses: hashicorp/packer-github-actions@master - with: - working_directory: ${{ github.event.inputs.folder }} - command: validate - env: - PACKER_LOG: ${{ github.event.inputs.logs }} - - - name: Build - uses: hashicorp/packer-github-actions@master - with: - working_directory: ${{ github.event.inputs.folder }} - command: build - env: - PACKER_LOG: ${{ github.event.inputs.logs }} - PKR_VAR_project_id: ${{ secrets.GCP_PROJECT_ID }}