github.com/waldiirawan/apm-agent-go/v2@v2.2.2/.github/workflows/snapshoty.yml (about) 1 --- 2 # Publish a snapshot. A "snapshot" is a packaging of the latest *unreleased* APM agent, 3 # published to a known GCS bucket for use in edge demo/test environments. 4 name: Snapshoty 5 6 on: 7 push: 8 branches: 9 - main 10 paths-ignore: 11 - '*.md' 12 - '*.asciidoc' 13 - 'docs/**' 14 15 jobs: 16 upload: 17 runs-on: ubuntu-latest 18 steps: 19 - uses: actions/checkout@v3 20 - uses: actions/setup-go@v3 21 with: 22 go-version-file: go.mod 23 cache: true 24 cache-dependency-path: '**/go.sum' 25 26 - name: Create snapshot tarball 27 run: ./scripts/jenkins/package.sh 28 29 - name: Publish snaphosts 30 uses: elastic/apm-pipeline-library/.github/actions/snapshoty-simple@current 31 with: 32 config: '.ci/snapshoty.yml' 33 vaultUrl: ${{ secrets.VAULT_ADDR }} 34 vaultRoleId: ${{ secrets.VAULT_ROLE_ID }} 35 vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}